From 76838dc0b21a942f99228753ed3a48142803f640 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Thu, 4 Apr 2013 23:31:49 +0200 Subject: EmpathyApp: don't activate app with invalid commandline --- src/empathy.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/empathy.c b/src/empathy.c index 04533a3bf..d5149a3d2 100644 --- a/src/empathy.c +++ b/src/empathy.c @@ -435,16 +435,17 @@ empathy_app_local_command_line (GApplication *app, *exit_status = EXIT_FAILURE; } + else + { + self->no_connect = no_connect; + self->start_hidden = start_hidden; - g_free (argv); + g_application_activate (app); + } + g_free (argv); g_option_context_free (optcontext); - self->no_connect = no_connect; - self->start_hidden = start_hidden; - - g_application_activate (app); - return retval; } -- cgit v1.2.3