]> www.fi.muni.cz Git - evince.git/commitdiff
Use always the session bus instead of starter
authorCarlos Garcia Campos <carlosgc@gnome.org>
Sat, 22 May 2010 13:39:47 +0000 (15:39 +0200)
committerCarlos Garcia Campos <carlosgc@gnome.org>
Tue, 25 May 2010 07:38:31 +0000 (09:38 +0200)
I'm not sure it makes sense using the system bus

shell/ev-daemon.c

index 7cf1eea533fa58efc6a83733d21e560f3603d666..007213852054415acc699154c16b8fa18210d3c5 100644 (file)
@@ -377,7 +377,7 @@ main (gint argc, gchar **argv)
 
        g_type_init ();
 
-        connection = g_bus_get_sync (G_BUS_TYPE_STARTER, NULL, &error);
+        connection = g_bus_get_sync (G_BUS_TYPE_SESSION, NULL, &error);
         if (connection == NULL) {
                 g_printerr ("Failed to get bus connection: %s\n", error->message);
                 g_error_free (error);