aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/empathy.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/empathy.c b/src/empathy.c
index b9174ad52..7e92a8850 100644
--- a/src/empathy.c
+++ b/src/empathy.c
@@ -190,13 +190,9 @@ empathy_app_new (guint argc,
argv_variant = g_variant_new_bytestring_array (argv, argc);
- self = g_initable_new (EMPATHY_TYPE_APP,
- NULL, &error,
+ self = g_object_new (EMPATHY_TYPE_APP,
"application-id", EMPATHY_DBUS_NAME,
- "argv", argv_variant,
- "register", TRUE,
- "no-connect", no_connect,
- "start-hidden", start_hidden,
+ "flags", G_APPLICATION_IS_SERVICE,
NULL);
if (self == NULL)