diff options
author | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2013-04-05 05:31:49 +0800 |
---|---|---|
committer | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2013-04-05 05:31:49 +0800 |
commit | 76838dc0b21a942f99228753ed3a48142803f640 (patch) | |
tree | c2bd84516e3f6cc0b314e1c843e22e353af27d1d | |
parent | c34fe48f550f43c0a93e122fd0f486cc5c5eeb03 (diff) | |
download | gsoc2013-empathy-76838dc0b21a942f99228753ed3a48142803f640.tar gsoc2013-empathy-76838dc0b21a942f99228753ed3a48142803f640.tar.gz gsoc2013-empathy-76838dc0b21a942f99228753ed3a48142803f640.tar.bz2 gsoc2013-empathy-76838dc0b21a942f99228753ed3a48142803f640.tar.lz gsoc2013-empathy-76838dc0b21a942f99228753ed3a48142803f640.tar.xz gsoc2013-empathy-76838dc0b21a942f99228753ed3a48142803f640.tar.zst gsoc2013-empathy-76838dc0b21a942f99228753ed3a48142803f640.zip |
EmpathyApp: don't activate app with invalid commandline
-rw-r--r-- | src/empathy.c | 13 |
1 files 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; } |