mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-11-04 18:18:56 +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:
@@ -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>
|
2005-09-26 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* configure.in: Bump version number
|
* configure.in: Bump version number
|
||||||
|
|||||||
@@ -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>
|
2005-09-26 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* configure.in: Bump version number
|
* configure.in: Bump version number
|
||||||
|
|||||||
@@ -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>
|
2005-09-26 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* configure.in: Bump version number
|
* configure.in: Bump version number
|
||||||
|
|||||||
@@ -340,7 +340,9 @@ gpointer g_type_instance_get_private (GTypeInstance *instance,
|
|||||||
*/
|
*/
|
||||||
#define G_IMPLEMENT_INTERFACE(TYPE_IFACE, iface_init) { \
|
#define G_IMPLEMENT_INTERFACE(TYPE_IFACE, iface_init) { \
|
||||||
static const GInterfaceInfo g_implement_interface_info = { \
|
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); \
|
g_type_add_interface_static (g_define_type_id, TYPE_IFACE, &g_implement_interface_info); \
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user