[evince] Use always the session bus instead of starter



commit af534ddb4d8992c0d58a52966f2fc40a7dde9067
Author: Carlos Garcia Campos <carlosgc gnome org>
Date:   Sat May 22 15:39:47 2010 +0200

    Use always the session bus instead of starter
    
    I'm not sure it makes sense using the system bus

 shell/ev-daemon.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/shell/ev-daemon.c b/shell/ev-daemon.c
index 7cf1eea..0072138 100644
--- a/shell/ev-daemon.c
+++ b/shell/ev-daemon.c
@@ -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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]