mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 23:46:17 +01:00
List GObject here, since the documentation misses the notify signal
Sat Oct 18 00:04:22 2003 Matthias Clasen <maclas@gmx.de> * gobject/gobject.types: List GObject here, since the documentation misses the notify signal otherwise. Needs a little bit of a hack to work around a gtkdoc-scangobj limitation, see the comment in gobject/gobject.i. * gobject/gobject.i: New file, containing a trivial g_object_get_type() function.
This commit is contained in:
parent
7681dc412e
commit
a414fb77de
@ -1,3 +1,13 @@
|
|||||||
|
Sat Oct 18 00:04:22 2003 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
|
* gobject/gobject.types: List GObject here, since the
|
||||||
|
documentation misses the notify signal otherwise. Needs
|
||||||
|
a little bit of a hack to work around a gtkdoc-scangobj
|
||||||
|
limitation, see the comment in gobject/gobject.i.
|
||||||
|
|
||||||
|
* gobject/gobject.i: New file, containing a trivial
|
||||||
|
g_object_get_type() function.
|
||||||
|
|
||||||
Fri Oct 17 00:23:51 2003 Matthias Clasen <maclas@gmx.de>
|
Fri Oct 17 00:23:51 2003 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* gobject/Makefile.am (GTKDOC_LIBS):
|
* gobject/Makefile.am (GTKDOC_LIBS):
|
||||||
|
11
docs/reference/gobject/gobject.i
Normal file
11
docs/reference/gobject/gobject.i
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* This is a hack to work around a limitation of gtkdoc-scan: it insists
|
||||||
|
* on putting () behind every symbol listed in gobject.types. Thus we
|
||||||
|
* can't put G_TYPE_OBJECT there, but have to sneak a g_object_get_type()
|
||||||
|
* function in the generated source via an #include.
|
||||||
|
*/
|
||||||
|
GType
|
||||||
|
g_object_get_type (void)
|
||||||
|
{
|
||||||
|
return G_TYPE_OBJECT;
|
||||||
|
}
|
@ -1,4 +1,6 @@
|
|||||||
#include <glib/glib-object.h>
|
#include <glib/glib-object.h>
|
||||||
|
#include "gobject.i"
|
||||||
|
|
||||||
|
g_object_get_type
|
||||||
g_type_module_get_type
|
g_type_module_get_type
|
||||||
g_type_plugin_get_type
|
g_type_plugin_get_type
|
||||||
|
Loading…
Reference in New Issue
Block a user