GNOME Bugzilla – Bug 563449
GNOME Goal: Clean up GLib and GTK+ includes
Last modified: 2008-12-06 18:11:04 UTC
GTK+ is moving toward a model where it is only allowed to include the 'toplevel' headers. Only <glib.h>, <gdk/gdk.h>, <gdk-pixbuf/gdk-pixbuf.h> and <gtk/gtk.h> can be directly included. The goal is to make all GNOME modules comply with this.
Created attachment 124053 [details] [review] initial patch I think there must be other headers to change, but it's a start
I'm not a Vinagre maintainer, but the patch is wrong. glib/gi18n.h and gdk/gdkkeysyms.h should be included as separate headers anyway, as they aren't part of glib.h and gdk/gdk.h. Also, the right include for gdk is not <gdk.h> but <gdk/gdk.h> and you seem to include <glib.h> twice.
Thanks Cosimo... I think I did the things in a hurry. :-)
Stupid me! Vinagre not need change for this goal. Closing bug.