diff options
author | Matthias Clasen <mclasen@redhat.com> | 2018-08-18 16:52:15 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2018-08-18 16:52:15 -0400 |
commit | c678607b7612e5c7687b4f5c97c64864fd2507d1 (patch) | |
tree | 0b44520e6843903722132a2ab4d598c1f6e0186d | |
parent | c0f71be35d95f46e769436d6ecb4d4c970318486 (diff) | |
download | glib-application-replace.tar.gz |
Fix the buildapplication-replace
-rw-r--r-- | gio/gapplicationimpl-dbus.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gio/gapplicationimpl-dbus.c b/gio/gapplicationimpl-dbus.c index 25ac49231..fc569429b 100644 --- a/gio/gapplicationimpl-dbus.c +++ b/gio/gapplicationimpl-dbus.c @@ -366,7 +366,7 @@ g_application_impl_attempt_primary (GApplicationImpl *impl, NULL /* set_property */ }; GApplicationClass *app_class = G_APPLICATION_GET_CLASS (impl->app); - GDBusNameOwnerFlags flags; + GBusNameOwnerFlags flags; GApplicationFlags app_flags; GVariant *reply; guint32 rval; @@ -450,15 +450,15 @@ g_application_impl_attempt_primary (GApplicationImpl *impl, flags = G_BUS_NAME_OWNER_FLAGS_DO_NOT_QUEUE; app_flags = g_application_get_flags (impl->app); - if (app_flags & G_APPLICATION_FLAGS_ALLOW_REPLACEMENT) + if (app_flags & G_APPLICATION_ALLOW_REPLACEMENT) { - impl->name_lost_signal = g_dbus_connection_signal_subscribe (impl->session_bus, "org.freeesktop.DBus, "org.freedesktop.DBus", + impl->name_lost_signal = g_dbus_connection_signal_subscribe (impl->session_bus, "org.freeesktop.DBus", "org.freedesktop.DBus", "NameLost", impl->bus_name, NULL, G_DBUS_SIGNAL_FLAGS_NONE, name_lost, impl, NULL); flags |= G_BUS_NAME_OWNER_FLAGS_ALLOW_REPLACEMENT; } - if (app_flags & G_APPLICATION_FLAGS_REPLACE) + if (app_flags & G_APPLICATION_REPLACE) flags |= G_BUS_NAME_OWNER_FLAGS_REPLACE; reply = g_dbus_connection_call_sync (impl->session_bus, "org.freedesktop.DBus", "/org/freedesktop/DBus", |