[gnome-settings-daemon] power: Fix backlight_helper_set_value() retval on non-Linux
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] power: Fix backlight_helper_set_value() retval on non-Linux
- Date: Wed, 23 Jan 2013 22:27:56 +0000 (UTC)
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]