mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
Fix several warnings in gio/gapplicationimpl-dbus.c:g_application_impl_command_line()
gio/gapplicationimpl-dbus.c: In function ‘g_application_impl_command_line’: gio/gapplicationimpl-dbus.c:772:3: error: ‘static’ is not at beginning of declaration 772 | const static GDBusInterfaceVTable vtable = { | ^~~~~ gio/gapplicationimpl-dbus.c:774:3: error: missing initializer for field ‘get_property’ of ‘GDBusInterfaceVTable’ {aka ‘const struct _GDBusInterfaceVTable’} 774 | }; | ^
This commit is contained in:
parent
cf5a6cfe3a
commit
579e9e49c5
@ -776,8 +776,8 @@ g_application_impl_command_line (GApplicationImpl *impl,
|
||||
const gchar * const *arguments,
|
||||
GVariant *platform_data)
|
||||
{
|
||||
const static GDBusInterfaceVTable vtable = {
|
||||
g_application_impl_cmdline_method_call
|
||||
static const GDBusInterfaceVTable vtable = {
|
||||
g_application_impl_cmdline_method_call, NULL, NULL, { 0 }
|
||||
};
|
||||
const gchar *object_path = "/org/gtk/Application/CommandLine";
|
||||
GMainContext *context;
|
||||
|
@ -362,7 +362,7 @@ g_keyfile_settings_backend_write_tree (GSettingsBackend *backend,
|
||||
GTree *tree,
|
||||
gpointer origin_tag)
|
||||
{
|
||||
WriteManyData data = { G_KEYFILE_SETTINGS_BACKEND (backend) };
|
||||
WriteManyData data = { G_KEYFILE_SETTINGS_BACKEND (backend), 0 };
|
||||
gboolean success;
|
||||
GError *error = NULL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user