mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-06-03 19:30:07 +02: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,
|
const gchar * const *arguments,
|
||||||
GVariant *platform_data)
|
GVariant *platform_data)
|
||||||
{
|
{
|
||||||
const static GDBusInterfaceVTable vtable = {
|
static const GDBusInterfaceVTable vtable = {
|
||||||
g_application_impl_cmdline_method_call
|
g_application_impl_cmdline_method_call, NULL, NULL, { 0 }
|
||||||
};
|
};
|
||||||
const gchar *object_path = "/org/gtk/Application/CommandLine";
|
const gchar *object_path = "/org/gtk/Application/CommandLine";
|
||||||
GMainContext *context;
|
GMainContext *context;
|
||||||
|
@ -362,7 +362,7 @@ g_keyfile_settings_backend_write_tree (GSettingsBackend *backend,
|
|||||||
GTree *tree,
|
GTree *tree,
|
||||||
gpointer origin_tag)
|
gpointer origin_tag)
|
||||||
{
|
{
|
||||||
WriteManyData data = { G_KEYFILE_SETTINGS_BACKEND (backend) };
|
WriteManyData data = { G_KEYFILE_SETTINGS_BACKEND (backend), 0 };
|
||||||
gboolean success;
|
gboolean success;
|
||||||
GError *error = NULL;
|
GError *error = NULL;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user