summaryrefslogtreecommitdiff
path: root/src/bin/elementary/test_ui_slider.c
diff options
context:
space:
mode:
authorWooHyun Jung <wh0705.jung@samsung.com>2019-08-30 08:42:41 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-08-30 08:42:41 -0400
commit3b3889bdb5da9b90612e95b159f2b90baca5fc2e (patch)
tree083160478a63373dd026a0542759dc23fc2254b3 /src/bin/elementary/test_ui_slider.c
parentd6156d23d8fb2f02b4582da714b8b0ba089fe36a (diff)
test_ui_slder: remove meaningless printf when reaching the limit
Summary: Without new internal min/max properties, this may be the only way to not give redundant printing of the meaningless value. @ref T8188 Test Plan: 1. elementary_test 2. EFl.Ui.Slider 3. On the limit slider, move the knob above the limit Reviewers: bu5hm4n Reviewed By: bu5hm4n Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8188 Differential Revision: https://phab.enlightenment.org/D9793
Diffstat (limited to '')
-rw-r--r--src/bin/elementary/test_ui_slider.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/bin/elementary/test_ui_slider.c b/src/bin/elementary/test_ui_slider.c
index 8704a08..36155e9 100644
--- a/src/bin/elementary/test_ui_slider.c
+++ b/src/bin/elementary/test_ui_slider.c
@@ -11,8 +11,9 @@ _slider_changed_cb(void *data EINA_UNUSED, const Efl_Event *ev)
11 11
12 val = efl_ui_range_value_get(ev->object); 12 val = efl_ui_range_value_get(ev->object);
13 13
14 printf("val = %f\n", val); 14 if (val <= 100)
15 if (val > 100) 15 printf("val = %f\n", val);
16 else
16 efl_ui_range_value_set(ev->object, 100); 17 efl_ui_range_value_set(ev->object, 100);
17} 18}
18 19