[gnome-control-center] power: Fix getting the keyboard brightness value



commit 4b16aad36cb80d2869d861b1f1e797fd128c852d
Author: Rui Matos <tiagomatos gmail com>
Date:   Tue Sep 17 18:36:55 2013 +0200

    power: Fix getting the keyboard brightness value
    
    https://bugzilla.gnome.org/show_bug.cgi?id=706040

 panels/power/cc-power-panel.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/panels/power/cc-power-panel.c b/panels/power/cc-power-panel.c
index 1eda01d..5552877 100644
--- a/panels/power/cc-power-panel.c
+++ b/panels/power/cc-power-panel.c
@@ -876,7 +876,7 @@ sync_kbd_brightness (CcPowerPanel *self)
   if (result)
     {
       /* set the slider */
-      brightness = g_variant_get_uint32 (result);
+      brightness = g_variant_get_int32 (result);
       visible = brightness >= 0.0;
     }
   else


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