mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
GApplication: unregister bus name
https://bugzilla.gnome.org/show_bug.cgi?id=647987
This commit is contained in:
parent
6c7387f6d1
commit
d920cb6bdb
@ -408,6 +408,17 @@ g_application_impl_destroy (GApplicationImpl *impl)
|
||||
g_dbus_connection_unregister_object (impl->session_bus,
|
||||
impl->object_id);
|
||||
|
||||
g_dbus_connection_call (impl->session_bus,
|
||||
"org.freedesktop.DBus",
|
||||
"/org/freedesktop/DBus",
|
||||
"org.freedesktop.DBus",
|
||||
"ReleaseName",
|
||||
g_variant_new ("(s)",
|
||||
impl->bus_name),
|
||||
NULL,
|
||||
G_DBUS_CALL_FLAGS_NONE,
|
||||
-1, NULL, NULL, NULL);
|
||||
|
||||
g_object_unref (impl->session_bus);
|
||||
g_free (impl->object_path);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user