mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-01 13:42:10 +01:00
Fix missing initializer warning in tests/gobject/defaultiface.c
tests/gobject/defaultiface.c: In function ‘test_dynamic_iface_register’: tests/gobject/defaultiface.c:126:5: error: missing initializer for field ‘class_data’ of ‘GTypeInfo’ {aka ‘const struct _GTypeInfo’} 126 | }; | ^
This commit is contained in:
parent
277d206d38
commit
b04ebbf67b
@ -122,7 +122,12 @@ test_dynamic_iface_register (GTypeModule *module)
|
||||
(GBaseInitFunc) NULL,
|
||||
(GBaseFinalizeFunc) NULL,
|
||||
(GClassInitFunc) test_dynamic_iface_default_init,
|
||||
(GClassFinalizeFunc) test_dynamic_iface_default_finalize
|
||||
(GClassFinalizeFunc) test_dynamic_iface_default_finalize,
|
||||
NULL,
|
||||
0,
|
||||
0,
|
||||
NULL,
|
||||
NULL
|
||||
};
|
||||
|
||||
test_dynamic_iface_type = g_type_module_register_type (module, G_TYPE_INTERFACE,
|
||||
|
Loading…
x
Reference in New Issue
Block a user