GNOME Bugzilla – Bug 530315
Fixup Gtk+ Includes
Last modified: 2008-05-21 18:20:17 UTC
Because Mitch says so, http://www.flickr.com/photos/arclnx/2335638271/. For preparation for the ever forthcoming Gtk+ 3.0 and some fun macro like this: #if !defined (__GTK_GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only <gtk/gtk.h> can be included directly." #endif ...this is a patch that fixes our includes to only use <gtk/gtk.h>. Touches just about every file, but it's very straightforward, build tested, and works fine here. Doesn't really impact build-time either (2m06 with v. 2m04 w/out on a single test on my 1.6ghz laptop, seems to be within the margin of error).
Created attachment 110024 [details] [review] here it is.
Thanks for your efforts. Please commit the patch to trunk.
Setting patch status.
2008-05-21 A. Walton <awalton@gnome.org> * */*.[ch]: Move all of Nautilus to single Gtk+ includes, because Mitch says so. Closes Bug #530315.