Fix missing initializer warning in gio/tests/gdbus-testserver.c

gio/tests/gdbus-testserver.c:806:1: error: missing initializer for field ‘padding’ of ‘GDBusInterfaceVTable’ {aka ‘const struct _GDBusInterfaceVTable’}
  806 | };
      | ^
In file included from gio/gio.h:53,
                 from gio/tests/gdbus-testserver.c:1:
gdbusconnection.h:395:12: note: ‘padding’ declared here
  395 |   gpointer padding[8];
      |            ^~~~~~~
This commit is contained in:
Emmanuel Fleury 2020-11-19 20:54:29 +01:00
parent 5133acdaff
commit 83a9ba7790

View File

@ -802,7 +802,8 @@ static const GDBusInterfaceVTable interface_vtable =
{
handle_method_call,
handle_get_property,
handle_set_property
handle_set_property,
{ 0 }
};
static void