[gnome-settings-daemon] power: Fix backlight_helper_set_value() retval on non-Linux



commit a3ef3b3a4228995fb3a9ade56fce25f7297fb441
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Jan 23 23:22:48 2013 +0100

    power: Fix backlight_helper_set_value() retval on non-Linux

 plugins/power/gpm-common.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/power/gpm-common.c b/plugins/power/gpm-common.c
index d0f42ac..eb64fce 100644
--- a/plugins/power/gpm-common.c
+++ b/plugins/power/gpm-common.c
@@ -1277,7 +1277,7 @@ backlight_helper_set_value (const gchar *argument,
                             gint value,
                             GError **error)
 {
-        gboolean ret;
+        gboolean ret = FALSE;
         gint exit_status = 0;
         gchar *command = NULL;
 



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