[totem] scrsaver: Force gnome-session being present



commit b568b23638af1384f068e7c03805d1ce9ef16500
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Sep 5 14:33:30 2011 +0100

    scrsaver: Force gnome-session being present
    
    If gnome-session isn't present, we should error out earlier.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=656988

 lib/totem-scrsaver.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/totem-scrsaver.c b/lib/totem-scrsaver.c
index aaa74bd..e3e580e 100644
--- a/lib/totem-scrsaver.c
+++ b/lib/totem-scrsaver.c
@@ -227,7 +227,7 @@ static void
 screensaver_init_dbus (TotemScrsaver *scr)
 {
         g_dbus_proxy_new_for_bus (G_BUS_TYPE_SESSION,
-	                          G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES,
+	                          G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES | G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START,
 	                          NULL,
 	                          GS_SERVICE,
 	                          GS_PATH,



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