[empathy] EmpathyApp: don't activate app with invalid commandline
- From: Marco Trevisan <marcotrevi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] EmpathyApp: don't activate app with invalid commandline
- Date: Thu, 4 Apr 2013 21:32:14 +0000 (UTC)
commit 76838dc0b21a942f99228753ed3a48142803f640
Author: Marco Trevisan (TreviƱo) <mail 3v1n0 net>
Date: Thu Apr 4 23:31:49 2013 +0200
EmpathyApp: don't activate app with invalid commandline
src/empathy.c | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
---
diff --git a/src/empathy.c b/src/empathy.c
index 04533a3..d5149a3 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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]