mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-11 23:16:14 +01: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:
parent
8414d97c5b
commit
a41b04a301
@ -1,3 +1,10 @@
|
|||||||
|
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)
|
||||||
|
|
||||||
Tue Jul 6 00:46:43 2004 Matthias Clasen <maclas@gmx.de>
|
Tue Jul 6 00:46:43 2004 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* gtypemodule.h:
|
* gtypemodule.h:
|
||||||
|
@ -388,7 +388,7 @@ g_type_module_add_interface (GTypeModule *module,
|
|||||||
module_interface_info->info = *interface_info;
|
module_interface_info->info = *interface_info;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
GType
|
||||||
g_type_module_register_enum (GTypeModule *module,
|
g_type_module_register_enum (GTypeModule *module,
|
||||||
const gchar *name,
|
const gchar *name,
|
||||||
const GEnumValue *const_static_values)
|
const GEnumValue *const_static_values)
|
||||||
@ -406,7 +406,7 @@ g_type_module_register_enum (GTypeModule *module,
|
|||||||
G_TYPE_ENUM, name, &enum_type_info, 0);
|
G_TYPE_ENUM, name, &enum_type_info, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
GType
|
||||||
g_type_module_register_flags (GTypeModule *module,
|
g_type_module_register_flags (GTypeModule *module,
|
||||||
const gchar *name,
|
const gchar *name,
|
||||||
const GFlagsValue *const_static_values)
|
const GFlagsValue *const_static_values)
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
#define __G_TYPE_MODULE_H__
|
#define __G_TYPE_MODULE_H__
|
||||||
|
|
||||||
#include <gobject/gobject.h>
|
#include <gobject/gobject.h>
|
||||||
|
#include <gobject/genums.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
@ -79,10 +80,10 @@ void g_type_module_add_interface (GTypeModule *module,
|
|||||||
GType instance_type,
|
GType instance_type,
|
||||||
GType interface_type,
|
GType interface_type,
|
||||||
const GInterfaceInfo *interface_info);
|
const GInterfaceInfo *interface_info);
|
||||||
void g_type_module_register_enum (GTypeModule *module,
|
GType g_type_module_register_enum (GTypeModule *module,
|
||||||
const gchar *name,
|
const gchar *name,
|
||||||
const GEnumValue *const_static_values);
|
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 gchar *name,
|
||||||
const GFlagsValue *const_static_values);
|
const GFlagsValue *const_static_values);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user