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)
This commit is contained in:
Matthias Clasen
2004-07-06 14:13:24 +00:00
committed by Matthias Clasen
parent 8414d97c5b
commit a41b04a301
3 changed files with 12 additions and 4 deletions

View File

@@ -388,7 +388,7 @@ g_type_module_add_interface (GTypeModule *module,
module_interface_info->info = *interface_info;
}
void
GType
g_type_module_register_enum (GTypeModule *module,
const gchar *name,
const GEnumValue *const_static_values)
@@ -406,7 +406,7 @@ g_type_module_register_enum (GTypeModule *module,
G_TYPE_ENUM, name, &enum_type_info, 0);
}
void
GType
g_type_module_register_flags (GTypeModule *module,
const gchar *name,
const GFlagsValue *const_static_values)