mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-27 17:52:58 +02:00
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:
committed by
Matthias Clasen
parent
8414d97c5b
commit
a41b04a301
@@ -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)
|
||||
|
Reference in New Issue
Block a user