diff options
author | Zeeshan Ali (Khattak) <zeeshanak@gnome.org> | 2015-07-27 18:16:14 +0100 |
---|---|---|
committer | Zeeshan Ali (Khattak) <zeeshanak@gnome.org> | 2015-07-27 18:16:14 +0100 |
commit | 49ff616d726e7d892a5b46f09cbd225bc5ff92ea (patch) | |
tree | 62b0a04bfb6f09d931b85a91def2dcca416dbe86 | |
parent | 0a00ad492014df46eb0e0f9b73f7fee3ab975e4e (diff) |
service-client: Complete Start() if already started
Simply returning TRUE from D-Bus method handler won't actually complete
the method call, we need to explicitly complete the call.
-rw-r--r-- | src/gclue-service-client.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gclue-service-client.c b/src/gclue-service-client.c index f8fcfb3..8f89247 100644 --- a/src/gclue-service-client.c +++ b/src/gclue-service-client.c @@ -368,9 +368,12 @@ gclue_service_client_handle_start (GClueDBusClient *client, GClueAppPerm app_perm; guint32 uid; - if (priv->locator != NULL) + if (priv->locator != NULL) { /* Already started */ + gclue_dbus_client_complete_start (client, invocation); + return TRUE; + } desktop_id = gclue_dbus_client_get_desktop_id (client); if (desktop_id == NULL) { |