diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/empathy.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/empathy.c b/src/empathy.c index 0128b7b00..f22d69b25 100644 --- a/src/empathy.c +++ b/src/empathy.c @@ -461,10 +461,12 @@ main (int argc, char *argv[]) if (unique_app_is_running (unique_app)) { - unique_app_send_message (unique_app, UNIQUE_ACTIVATE, NULL); - - g_object_unref (unique_app); - return EXIT_SUCCESS; + if (unique_app_send_message (unique_app, UNIQUE_ACTIVATE, NULL) == + UNIQUE_RESPONSE_OK) + { + g_object_unref (unique_app); + return EXIT_SUCCESS; + } } notify_init (_(PACKAGE_NAME)); |