mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-09 19:06:15 +01:00
Fix missing initializer warning in gio/gdbusconnection.c:g_dbus_connection_register_object_with_closures()
gio/gdbusconnection.c: In function ‘g_dbus_connection_register_object_with_closures’: gio/gdbusconnection.c:5527:5: error: missing initializer for field ‘padding’ of ‘GDBusInterfaceVTable’ {aka ‘struct _GDBusInterfaceVTable’} 5527 | }; | ^
This commit is contained in:
parent
80fa64d974
commit
68e69a4128
@ -5530,7 +5530,8 @@ g_dbus_connection_register_object_with_closures (GDBusConnection *connection
|
||||
{
|
||||
method_call_closure != NULL ? register_with_closures_on_method_call : NULL,
|
||||
get_property_closure != NULL ? register_with_closures_on_get_property : NULL,
|
||||
set_property_closure != NULL ? register_with_closures_on_set_property : NULL
|
||||
set_property_closure != NULL ? register_with_closures_on_set_property : NULL,
|
||||
{ 0 }
|
||||
};
|
||||
|
||||
data = register_object_data_new (method_call_closure, get_property_closure, set_property_closure);
|
||||
|
Loading…
Reference in New Issue
Block a user