summaryrefslogtreecommitdiff
path: root/gobject/gtypemodule.h
diff options
context:
space:
mode:
authorMatthias Clasen <maclas@gmx.de>2004-07-06 14:13:24 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2004-07-06 14:13:24 +0000
commita41b04a301a7ec7173b64d947469fc2ecef61e7a (patch)
treea4ff15968fcd545ab01918ae1d04570a27fcedac /gobject/gtypemodule.h
parent8414d97c5b76b2485460988937ddb3d70d38d294 (diff)
downloadglib-a41b04a301a7ec7173b64d947469fc2ecef61e7a.tar.gz
Fix the declarations of the new functions to return GType, not void. Also
Tue Jul 6 00:46:43 2004 Matthias Clasen <maclas@gmx.de> * gtypemodule.h: * gtypemodule.c: Fix the declarations of the new functions to return GType, not void. Also add missing includes. (#145508, Morten Welinder)
Diffstat (limited to 'gobject/gtypemodule.h')
-rw-r--r--gobject/gtypemodule.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gobject/gtypemodule.h b/gobject/gtypemodule.h
index 863ea153f..ad2c6421b 100644
--- a/gobject/gtypemodule.h
+++ b/gobject/gtypemodule.h
@@ -24,6 +24,7 @@
#define __G_TYPE_MODULE_H__
#include <gobject/gobject.h>
+#include <gobject/genums.h>
G_BEGIN_DECLS
@@ -79,10 +80,10 @@ void g_type_module_add_interface (GTypeModule *module,
GType instance_type,
GType interface_type,
const GInterfaceInfo *interface_info);
-void g_type_module_register_enum (GTypeModule *module,
+GType g_type_module_register_enum (GTypeModule *module,
const gchar *name,
const GEnumValue *const_static_values);
-void g_type_module_register_flags (GTypeModule *module,
+GType g_type_module_register_flags (GTypeModule *module,
const gchar *name,
const GFlagsValue *const_static_values);