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 520754 - Including single headers should not be permitted.
Including single headers should not be permitted.
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks: 347771
 
 
Reported: 2008-03-06 13:58 UTC by Johan (not receiving bugmail) Dahlin
Modified: 2008-10-02 05:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Johan (not receiving bugmail) Dahlin 2008-03-06 13:58:41 UTC
Including single headers should not be permitted.
When we can break the public API we should fix this, so the only valid headers to include is either gdk.h or gtk.h.

This has already been done to gobject and gio.
Comment 1 Christian Dywan 2008-05-25 17:07:34 UTC
Does it actually count as an API break to disallow single includes?

Apart from that, I imagine we could begin with a warning instead of a hard break, or even only break if GTK_DISABLE_DEPRECATED is defined.