diff --git a/ChangeLog b/ChangeLog index 19d3e3fb2..7df1dd59f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-09-26 DindinX + + * 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 * glib/gstrfuncs.c (g_ascii_strtoull): Add details to the diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 19d3e3fb2..7df1dd59f 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +2005-09-26 DindinX + + * 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 * glib/gstrfuncs.c (g_ascii_strtoull): Add details to the diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index 19d3e3fb2..7df1dd59f 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,3 +1,8 @@ +2005-09-26 DindinX + + * 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 * glib/gstrfuncs.c (g_ascii_strtoull): Add details to the diff --git a/gobject/gtype.h b/gobject/gtype.h index 4ab0367f3..9fd49ac71 100644 --- a/gobject/gtype.h +++ b/gobject/gtype.h @@ -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); \ }