GNOME Bugzilla – Bug 563904
GNOME Goal: Clean up GLib and GTK+ includes
Last modified: 2008-12-10 11:52:11 UTC
Correct applications or libraries that don't include *only* toplevel headers for GLib, GTK, GDK and gdk-pixbuf. This will be useful to prepare GTK 3.0 migration. See also http://live.gnome.org/GnomeGoals/CleanupGTKIncludes
Created attachment 124304 [details] [review] patch for gst-plugins-base
Created attachment 124305 [details] [review] patch for gst-plugins-good
Could you attach the second patch again as a unified diff and without all the unrelated changes? :) Other than that this is the right thing to do... is it still allowed though to directly include gstdio.h?
2008-12-10 Sebastian Dröge <sebastian.droege@collabora.co.uk> Patch by: Luis Menina <liberforce at freeside dot fr> * gst-libs/gst/floatcast/floatcast.h: * gst/typefind/gsttypefindfunctions.c: Include glib.h instead of a specific GLib header. Including single GLib headers is deprecated. Fixes bug #563904.
Actually the -good patch contains no source changes... and -good builds with with -DG_DISABLE_SINGLE_INCLUDES and friends for me. I've checked all other modules and they're fine too :)
Oops, sorry for the second patch, switching to cvs when you're used to svn it tricky :-p. What is strange is the fact that updating to newest release marks the po files as modified while I didn't touch them. As some .c files were marked as modified too, I thought I had patched this module for it to compile. Well, anyway, this is one more step towards world dommination :-)