diff options
author | Emmanuel Fleury <emmanuel.fleury@gmail.com> | 2020-11-17 20:57:14 +0100 |
---|---|---|
committer | Emmanuel Fleury <emmanuel.fleury@gmail.com> | 2021-02-01 11:14:21 +0100 |
commit | 68e69a412898b5b5e51b854025ad21a457120b60 (patch) | |
tree | 40125e73cf2da658b04bd968cca3c561913102e5 | |
parent | 80fa64d974a28f55bd0b45ac78f110c3d3f92996 (diff) | |
download | glib-68e69a412898b5b5e51b854025ad21a457120b60.tar.gz |
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 | };
| ^
-rw-r--r-- | gio/gdbusconnection.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gio/gdbusconnection.c b/gio/gdbusconnection.c index 5c5ef1718..776289340 100644 --- a/gio/gdbusconnection.c +++ b/gio/gdbusconnection.c @@ -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); |