summaryrefslogtreecommitdiff
path: root/daemon/device
diff options
context:
space:
mode:
authoryoungsub ko <ys4610.ko@samsung.com>2013-04-05 16:19:11 +0900
committeryoungsub ko <ys4610.ko@samsung.com>2013-04-05 16:19:11 +0900
commit1b0a3900a69b667f8c92ab16e9dc189b28ac12f8 (patch)
tree1e2d5534a00a303992b4d00b914846f524a4561f /daemon/device
parent87665f4212bae9d2e241db7a7b06c8f1d0befd9f (diff)
downloadquickpanel-1b0a3900a69b667f8c92ab16e9dc189b28ac12f8.tar.gz
quickpanel-1b0a3900a69b667f8c92ab16e9dc189b28ac12f8.tar.bz2
quickpanel-1b0a3900a69b667f8c92ab16e9dc189b28ac12f8.zip
sync with private git
Diffstat (limited to 'daemon/device')
-rwxr-xr-xdaemon/device/brightness.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/daemon/device/brightness.c b/daemon/device/brightness.c
index ddf4b45..76db218 100755
--- a/daemon/device/brightness.c
+++ b/daemon/device/brightness.c
@@ -342,6 +342,7 @@ static void _brightness_set_checker(void)
static void _brightness_set_slider(void)
{
DBG("");
+ int value = 0;
Evas_Object *slider = NULL;
Evas_Object *old_obj = NULL;
brightness_ctrl_obj *ctrl_obj = g_ctrl_obj;
@@ -371,7 +372,9 @@ static void _brightness_set_slider(void)
slider = old_obj;
}
- elm_slider_value_set(slider, _brightness_get_level());
+ value = _brightness_get_level();
+
+ elm_slider_value_set(slider, value);
if (_brightness_get_automate_level()) {
elm_object_disabled_set(slider, EINA_TRUE);