From dd2c970a735a8099b00df7423cf8fe0dc8f4c473 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Fri, 22 Oct 2010 13:07:46 +0200 Subject: GApplication is not a initable anymore --- src/empathy.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/empathy.c') 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) -- cgit v1.2.3