turn off compiler warnings, #337129.

Tue May 16 14:01:43 2006  Tim Janik  <timj@imendio.com>

        * gtype.h (G_IMPLEMENT_INTERFACE): turn off compiler warnings, #337129.
This commit is contained in:
Tim Janik 2006-05-16 12:02:29 +00:00 committed by Tim Janik
parent 3dd6df72cb
commit 4c6e514add
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
Tue May 16 14:01:43 2006 Tim Janik <timj@imendio.com>
* gtype.h (G_IMPLEMENT_INTERFACE): turn off compiler warnings, #337129.
2006-05-15 Matthias Clasen <mclasen@redhat.com>
* === Released 2.11.1 ===

View File

@ -349,7 +349,7 @@ 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, NULL, NULL \
}; \
g_type_add_interface_static (g_define_type_id, TYPE_IFACE, &g_implement_interface_info); \
}