[glib: 5/10] Fix missing initializer warning in gio/tests/gnotification-server.c
- From: Sebastian Dröge <sdroege src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 5/10] Fix missing initializer warning in gio/tests/gnotification-server.c
- Date: Fri, 23 Apr 2021 09:37:30 +0000 (UTC)
commit cb0b4b00df2372dc3bd1ba7a70176d2f8eac29b7
Author: Emmanuel Fleury <emmanuel fleury gmail com>
Date: Fri Nov 20 19:38:19 2020 +0100
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 | };
| ^
gio/tests/gnotification-server.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gio/tests/gnotification-server.c b/gio/tests/gnotification-server.c
index 9585b0949..c98cbf018 100644
--- a/gio/tests/gnotification-server.c
+++ b/gio/tests/gnotification-server.c
@@ -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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]