[evince/gdbus] Use always the session bus instead of starter



commit 2f33fc5ccd0b3e9ad29789d7a2a06da7aa68cde5
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]