]> git.0d.be Git - empathy.git/commitdiff
GApplication is not a initable anymore
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Fri, 22 Oct 2010 11:07:46 +0000 (13:07 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Fri, 22 Oct 2010 12:11:16 +0000 (14:11 +0200)
src/empathy.c

index b9174ad52b9629616925497e5a717289590491df..7e92a88500b78a46aee8402b18a37bc3a873c544 100644 (file)
@@ -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)