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 |   };
      |   ^
This commit is contained in:
Emmanuel Fleury 2020-11-17 12:08:03 +01:00
parent 5af79a84e3
commit 7d81742339

View File

@ -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;