initialize all the fields of GInterfaceInfo in the G_IMPLEMENT_INTERFACE
authorDavid Odin <dindinx@src.gnome.org>
Mon, 26 Sep 2005 18:35:32 +0000 (18:35 +0000)
committerDavid Odin <dindinx@src.gnome.org>
Mon, 26 Sep 2005 18:35:32 +0000 (18:35 +0000)
* gobject/gtype.h: initialize all the fields of GInterfaceInfo in the
  G_IMPLEMENT_INTERFACE macro, to shut up a warning when compiling at -W

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
gobject/gtype.h

index 19d3e3f..7df1dd5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 
index 19d3e3f..7df1dd5 100644 (file)
@@ -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 
index 19d3e3f..7df1dd5 100644 (file)
@@ -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 
index 4ab0367..9fd49ac 100644 (file)
@@ -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); \
 }