GNOME Bugzilla – Bug 520754
Including single headers should not be permitted.
Last modified: 2008-10-02 05:40:21 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.
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.