mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
Fix several warnings in gio/gapplicationimpl-dbus.c:g_application_impl_attempt_primary()
gio/gapplicationimpl-dbus.c: In function ‘g_application_impl_attempt_primary’: gio/gapplicationimpl-dbus.c:364:3: error: ‘static’ is not at beginning of declaration 364 | const static GDBusInterfaceVTable vtable = { | ^~~~~ gio/gapplicationimpl-dbus.c:368:3: error: missing initializer for field ‘padding’ of ‘GDBusInterfaceVTable’ {aka ‘const struct _GDBusInterfaceVTable’} 368 | }; | ^
This commit is contained in:
parent
7d81742339
commit
cf5a6cfe3a
@ -361,10 +361,11 @@ g_application_impl_attempt_primary (GApplicationImpl *impl,
|
||||
GCancellable *cancellable,
|
||||
GError **error)
|
||||
{
|
||||
const static GDBusInterfaceVTable vtable = {
|
||||
static const GDBusInterfaceVTable vtable = {
|
||||
g_application_impl_method_call,
|
||||
g_application_impl_get_property,
|
||||
NULL /* set_property */
|
||||
NULL, /* set_property */
|
||||
{ 0 }
|
||||
};
|
||||
GApplicationClass *app_class = G_APPLICATION_GET_CLASS (impl->app);
|
||||
GBusNameOwnerFlags name_owner_flags;
|
||||
|
Loading…
Reference in New Issue
Block a user