[glib: 7/11] Fix missing initializer warning in gio/gmenuexporter.c:g_dbus_connection_export_menu_model()
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 7/11] Fix missing initializer warning in gio/gmenuexporter.c:g_dbus_connection_export_menu_model()
- Date: Sat, 30 Jan 2021 22:34:42 +0000 (UTC)
commit 7d81742339af74df071ffccfec7a53eea4962634
Author: Emmanuel Fleury <emmanuel fleury gmail com>
Date: Tue Nov 17 12:08:03 2020 +0100
Fix missing initializer warning in gio/gmenuexporter.c:g_dbus_connection_export_menu_model()
gio/gmenuexporter.c: In function ‘g_dbus_connection_export_menu_model’:
gio/gmenuexporter.c:787:3: error: missing initializer for field ‘get_property’ of ‘GDBusInterfaceVTable’
{aka ‘const struct _GDBusInterfaceVTable’}
787 | };
| ^
gio/gmenuexporter.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gio/gmenuexporter.c b/gio/gmenuexporter.c
index f319b886b..a212b29f3 100644
--- a/gio/gmenuexporter.c
+++ b/gio/gmenuexporter.c
@@ -783,7 +783,7 @@ g_dbus_connection_export_menu_model (GDBusConnection *connection,
GError **error)
{
const GDBusInterfaceVTable vtable = {
- g_menu_exporter_method_call,
+ g_menu_exporter_method_call, NULL, NULL, { 0 }
};
GMenuExporter *exporter;
guint id;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]