After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 563413 - GNOME Goal: Clean up GLib and GTK+ includes
GNOME Goal: Clean up GLib and GTK+ includes
Status: RESOLVED FIXED
Product: general
Classification: Other
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: Unknown User
Unknown User
Depends on: 555149 559178 559233 560432 560449 560454 560456 560459 560468 560678 560758 560767 560786 560794 561223 561229 561233 561245 561257 561260 561562 562441 563449 563537 563566 563567 563568 563569 563570 563572 563573 563577 563629 563684 563695 563700 563711 563712 563714 563717 563720 563764 563785 563786 563787 563788 563789 563904 563987 564006 564214 564222 564235 564237 564249 564253 564264 564267 564274 564283 564298 564363 564368 564376 564379 564654 565027 565036 565218 577970 585669 585695 585697 589765 590485 602044 608284 615292
Blocks:
 
 
Reported: 2008-12-06 04:03 UTC by Luis Menina
Modified: 2011-04-26 13:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Luis Menina 2008-12-06 04:03:38 UTC
This is an umbrella bug to track 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
Comment 1 Morten Welinder 2008-12-16 21:52:57 UTC
> *only* toplevel headers for GLib, GTK, GDK and gdk-pixbuf

What am I supposed to do with, for example, gdk/gdkkeysyms.h and
glib/gi18n-lib.h?  These are not included by the top-level header
file.
Comment 2 Luis Menina 2008-12-16 22:35:00 UTC
Leave them and compile with G_DISABLE_SINGLE_INCLUDES, GDK_PIXBUF_DISABLE_SINGLE_INCLUDES and GTK_DISABLE_SINGLE_INCLUDES defined. If you compiler doesn't complain, and no error is reported, then it's fine to leave them. AFAIR, these are special case and should stay.
Comment 3 Morten Welinder 2008-12-17 02:11:28 UTC
This really has to be documented somewhere.  Using the svn flavour of the day
plus a compiler is not a reasonable API description!
Comment 4 Luis Menina 2009-06-14 01:25:20 UTC
telepathy-mission-control-bug:
http://sourceforge.net/tracker/?func=detail&aid=2806054&group_id=190214&atid=932444
Comment 5 Luis Menina 2011-04-26 13:40:30 UTC
Thanks to all the people who worked hard on this. I'm closing this bug as all the bugs it depended on have been closed.