aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-10-22 19:07:46 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-10-22 20:11:16 +0800
commitdd2c970a735a8099b00df7423cf8fe0dc8f4c473 (patch)
tree4de45a98e9e08ed0b72c813db38d79b25b040a60 /src
parent7c8a06a7cd034f24df4c532533ef144cb87145ee (diff)
downloadgsoc2013-empathy-dd2c970a735a8099b00df7423cf8fe0dc8f4c473.tar
gsoc2013-empathy-dd2c970a735a8099b00df7423cf8fe0dc8f4c473.tar.gz
gsoc2013-empathy-dd2c970a735a8099b00df7423cf8fe0dc8f4c473.tar.bz2
gsoc2013-empathy-dd2c970a735a8099b00df7423cf8fe0dc8f4c473.tar.lz
gsoc2013-empathy-dd2c970a735a8099b00df7423cf8fe0dc8f4c473.tar.xz
gsoc2013-empathy-dd2c970a735a8099b00df7423cf8fe0dc8f4c473.tar.zst
gsoc2013-empathy-dd2c970a735a8099b00df7423cf8fe0dc8f4c473.zip
GApplication is not a initable anymore
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)