[empathy] GApplication is not a initable anymore
- From: Guillaume Desmottes <gdesmott src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [empathy] GApplication is not a initable anymore
 
- Date: Fri, 22 Oct 2010 12:11:33 +0000 (UTC)
 
commit dd2c970a735a8099b00df7423cf8fe0dc8f4c473
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Fri Oct 22 13:07:46 2010 +0200
    GApplication is not a initable anymore
 src/empathy.c |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/src/empathy.c b/src/empathy.c
index b9174ad..7e92a88 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)
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]