From a414fb77deafc66b6edf547f74d8cf1b18d2a6a1 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 17 Oct 2003 22:08:04 +0000 Subject: [PATCH] List GObject here, since the documentation misses the notify signal Sat Oct 18 00:04:22 2003 Matthias Clasen * 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. --- docs/reference/ChangeLog | 10 ++++++++++ docs/reference/gobject/gobject.i | 11 +++++++++++ docs/reference/gobject/gobject.types | 2 ++ 3 files changed, 23 insertions(+) create mode 100644 docs/reference/gobject/gobject.i diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index 64f476c..afd8929 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,3 +1,13 @@ +Sat Oct 18 00:04:22 2003 Matthias Clasen + + * 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 * gobject/Makefile.am (GTKDOC_LIBS): diff --git a/docs/reference/gobject/gobject.i b/docs/reference/gobject/gobject.i new file mode 100644 index 0000000..2976940 --- /dev/null +++ b/docs/reference/gobject/gobject.i @@ -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; +} diff --git a/docs/reference/gobject/gobject.types b/docs/reference/gobject/gobject.types index 65244ed..40f079c 100644 --- a/docs/reference/gobject/gobject.types +++ b/docs/reference/gobject/gobject.types @@ -1,4 +1,6 @@ #include +#include "gobject.i" +g_object_get_type g_type_module_get_type g_type_plugin_get_type -- 2.7.4