Fix missing initializer warning in gio/tests/gnotification-server.c

gio/tests/gnotification-server.c: In function ‘g_notification_server_bus_acquired’:
gio/tests/gnotification-server.c:224:3: error: missing initializer for field ‘padding’ of ‘GDBusInterfaceVTable’ {aka ‘const struct _GDBusInterfaceVTable’}
  224 |   };
      |   ^
This commit is contained in:
Emmanuel Fleury 2020-11-20 19:38:19 +01:00
parent d255962abb
commit cb0b4b00df

View File

@ -220,7 +220,7 @@ g_notification_server_bus_acquired (GDBusConnection *connection,
gpointer user_data)
{
const GDBusInterfaceVTable vtable = {
org_gtk_Notifications_method_call, NULL, NULL
org_gtk_Notifications_method_call, NULL, NULL, { 0 }
};
GNotificationServer *server = user_data;