aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/empathy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/empathy.c b/src/empathy.c
index 6e47af2de..1081fd1b7 100644
--- a/src/empathy.c
+++ b/src/empathy.c
@@ -189,7 +189,6 @@ empathy_app_new (guint argc,
self = g_object_new (EMPATHY_TYPE_APP,
"application-id", EMPATHY_DBUS_NAME,
- "flags", G_APPLICATION_IS_SERVICE,
NULL);
if (self == NULL)
@@ -233,6 +232,8 @@ empathy_app_activate (GApplication *app)
*/
self->start_hidden = FALSE;
+ g_application_hold (G_APPLICATION (app));
+
empathy_window_present (GTK_WINDOW (self->window));
/* Display the accounts dialog if needed */
@@ -685,7 +686,6 @@ main (int argc, char *argv[])
app = empathy_app_new (argc, (const gchar * const *) argv,
no_connect, start_hidden);
- g_application_hold (G_APPLICATION (app));
g_application_run (G_APPLICATION (app), argc, argv);
notify_uninit ();