GNOME Bugzilla – Bug 356874
gobjectnotifyqueue.c in /usr/include/glib-2.0/gobject/ seems weird
Last modified: 2006-09-22 11:43:14 UTC
Hi, /usr/include/glib-2.0/gobject/gobjectnotifyqueue.c has the boiler plate (__G_NOTIFY_H__) of a standard header, yet it's not included from any public headers. It includes only "static inline" functions, so I understand it's not part of the Glib ABI, but none of the functions in this file are documented in the public API. It seems to me this file is only required by Glib itself, I think it shouldn't be installed along with the public headers. This is Debian bug http://bugs.debian.org/365380. Bye,
the reason it is installed is that it's part of the public API for object implementations: $ fgrep -r gobjectnotifyqueue.c gtk+/gtk gtk+/gtk/gtkcontainer.c:#include <gobject/gobjectnotifyqueue.c> gtk+/gtk/gtkwidget.c:#include <gobject/gobjectnotifyqueue.c> the guard macro will be fixed to __G_OBJECT_NOTIFY_QUEUE_H__ in the future.