GNOME Bugzilla – Bug 538984
fix GLib includes
Last modified: 2008-06-18 21:31:16 UTC
From Glib-2.17 README: The recommended way of using GLib has always been to only include the toplevel headers glib.h, glib-object.h and gio.h. There is three places in libgnomeui where a specific GLib header is included.
Created attachment 112996 [details] [review] remove single includes This "fixes" the mentioned single includes. This doesn't make libgnomeui compilable with G_DISABLE_SINGLE_INCLUDES as gnome-vfs is not fixed(yet?).
Want to do the gtk/gtk.h dance at the same time?
Created attachment 113013 [details] [review] handle gtk and gdk also (In reply to comment #2) > Want to do the gtk/gtk.h dance at the same time? > Okay, this one should take care of GTK and GDK single includes as well.
Okay, committed. Thanks for the quick response. :-) 2008-06-18 Felix Riemann <> * libgnomeui/*.c: * libgnomeui/*.h: * test-gnome/prop-editor.h: Fix Glib, Gdk and GTK+ single includes. Fixes bug #538984.