]> www.fi.muni.cz Git - evince.git/blobdiff - shell/ev-daemon.c
Use always the session bus instead of starter
[evince.git] / 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);