mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-13 07:56:17 +01:00
initialize all the fields of GInterfaceInfo in the G_IMPLEMENT_INTERFACE
* gobject/gtype.h: initialize all the fields of GInterfaceInfo in the G_IMPLEMENT_INTERFACE macro, to shut up a warning when compiling at -W
This commit is contained in:
parent
a2b2c8143f
commit
31659726ea
@ -1,3 +1,8 @@
|
||||
2005-09-26 DindinX <dindinx@gimp.org>
|
||||
|
||||
* gobject/gtype.h: initialize all the fields of GInterfaceInfo in the
|
||||
G_IMPLEMENT_INTERFACE macro, to shut up a warning when compiling at -W
|
||||
|
||||
2005-09-26 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gstrfuncs.c (g_ascii_strtoull): Add details to the
|
||||
|
@ -1,3 +1,8 @@
|
||||
2005-09-26 DindinX <dindinx@gimp.org>
|
||||
|
||||
* gobject/gtype.h: initialize all the fields of GInterfaceInfo in the
|
||||
G_IMPLEMENT_INTERFACE macro, to shut up a warning when compiling at -W
|
||||
|
||||
2005-09-26 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gstrfuncs.c (g_ascii_strtoull): Add details to the
|
||||
|
@ -1,3 +1,8 @@
|
||||
2005-09-26 DindinX <dindinx@gimp.org>
|
||||
|
||||
* gobject/gtype.h: initialize all the fields of GInterfaceInfo in the
|
||||
G_IMPLEMENT_INTERFACE macro, to shut up a warning when compiling at -W
|
||||
|
||||
2005-09-26 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gstrfuncs.c (g_ascii_strtoull): Add details to the
|
||||
|
@ -340,7 +340,9 @@ gpointer g_type_instance_get_private (GTypeInstance *instance,
|
||||
*/
|
||||
#define G_IMPLEMENT_INTERFACE(TYPE_IFACE, iface_init) { \
|
||||
static const GInterfaceInfo g_implement_interface_info = { \
|
||||
(GInterfaceInitFunc) iface_init \
|
||||
(GInterfaceInitFunc) iface_init, \
|
||||
(GInterfaceFinalizeFunc) NULL, \
|
||||
NULL \
|
||||
}; \
|
||||
g_type_add_interface_static (g_define_type_id, TYPE_IFACE, &g_implement_interface_info); \
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user