[gnome-settings-daemon] power: Better debug when exiting because of no XRandR support



commit cb000e9c24a2fe3f47e1a5c16ca233c554d3dab2
Author: Bastien Nocera <hadess hadess net>
Date:   Sat Jan 19 01:46:47 2013 +0100

    power: Better debug when exiting because of no XRandR support

 plugins/power/gsd-power-manager.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/plugins/power/gsd-power-manager.c b/plugins/power/gsd-power-manager.c
index 2e68282..e867192 100644
--- a/plugins/power/gsd-power-manager.c
+++ b/plugins/power/gsd-power-manager.c
@@ -3326,7 +3326,8 @@ gsd_power_manager_start (GsdPowerManager *manager,
 
         /* coldplug the list of screens */
         manager->priv->rr_screen = gnome_rr_screen_new (gdk_screen_get_default (), error);
-        if (manager->priv->rr_screen == NULL)
+        if (manager->priv->rr_screen == NULL) {
+                g_debug ("Couldn't detect any screens, disabling plugin");
                 return FALSE;
 
         /* Set up the logind proxy */



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