Commit d0b97beb authored by Ray Strode's avatar Ray Strode

client: track client disconnection for dbus clients

We currently don't notice when dbus clients go away
(well we notice, but ignore it).

This commit fixes that.

https://bugzilla.gnome.org/show_bug.cgi?id=763169
parent a8be66fa
......@@ -2742,6 +2742,11 @@ gsm_manager_register_client (GsmExportedManager *skeleton,
/* the store will own the ref */
g_object_unref (client);
g_signal_connect (client,
"disconnected",
G_CALLBACK (on_client_disconnected),
manager);
if (app != NULL) {
gsm_client_set_app_id (client, gsm_app_peek_app_id (app));
gsm_app_set_registered (app, TRUE);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment