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 356874 - gobjectnotifyqueue.c in /usr/include/glib-2.0/gobject/ seems weird
gobjectnotifyqueue.c in /usr/include/glib-2.0/gobject/ seems weird
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: gobject
2.12.x
Other Linux
: Normal enhancement
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2006-09-20 09:57 UTC by Loïc Minier
Modified: 2006-09-22 11:43 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14



Description Loïc Minier 2006-09-20 09:57:48 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,
Comment 1 Tim Janik 2006-09-22 11:43:14 UTC
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.