[gnome-settings-daemon] power: Fix incorrect debug output



commit 3603dd67bcf56612d3f96d618feaafea07158888
Author: Bastien Nocera <hadess hadess net>
Date:   Fri Jan 18 15:32:30 2013 +0100

    power: Fix incorrect debug output
    
    Was printing the wrong variable.

 plugins/power/gsd-power-manager.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/power/gsd-power-manager.c b/plugins/power/gsd-power-manager.c
index d49145f..cbe21fa 100644
--- a/plugins/power/gsd-power-manager.c
+++ b/plugins/power/gsd-power-manager.c
@@ -2684,7 +2684,7 @@ idle_configure (GsdPowerManager *manager)
                           &manager->priv->idle_dim_id);
 
         if (timeout_dim != 0) {
-                g_debug ("setting up dim callback for %is", timeout_blank);
+                g_debug ("setting up dim callback for %is", timeout_dim);
 
                 manager->priv->idle_dim_id = gnome_idle_monitor_add_watch (manager->priv->idle_monitor,
                                                                            timeout_dim * 1000,



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