summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-08-01 13:55:06 +0200
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-08-03 20:40:11 +0200
commit7869778d02d862a0efd11857c3299cd391245551 (patch)
treec8c17dbd069c5aad48075b2f1d0995273274adc4 /src/tests
parent42bbe0e58ffcfda31d142dbaab9be99f7d84f1c7 (diff)
efl_ui_spin: move the step implementation to spin_button
having efl_ui_spin implementing efl.ui.range_interactive does not make sense. Efl.Ui.Spin is a not interactive widget, so it should not implement that interface. ref T7897 Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D9475
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/elementary/spec/efl_test_range_interactive.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/tests/elementary/spec/efl_test_range_interactive.c b/src/tests/elementary/spec/efl_test_range_interactive.c
index b7fd4ad793..c900524120 100644
--- a/src/tests/elementary/spec/efl_test_range_interactive.c
+++ b/src/tests/elementary/spec/efl_test_range_interactive.c
@@ -10,7 +10,7 @@
10 10
11/* spec-meta-start 11/* spec-meta-start
12 {"test-interface":"Efl.Ui.Range_Display_Interactive", 12 {"test-interface":"Efl.Ui.Range_Display_Interactive",
13 "test-widgets": ["Efl.Ui.Spin", "Efl.Ui.Slider", "Efl.Ui.Spin_Button"]} 13 "test-widgets": ["Efl.Ui.Slider", "Efl.Ui.Spin_Button"]}
14 spec-meta-end */ 14 spec-meta-end */
15 15
16EFL_START_TEST(step_setting) 16EFL_START_TEST(step_setting)
@@ -52,8 +52,6 @@ EFL_START_TEST(steady_event)
52 Evas *e; 52 Evas *e;
53 int count = 0; 53 int count = 0;
54 54
55 if (efl_isa(widget, EFL_UI_SPIN_CLASS)) return;
56
57 efl_event_callback_add(widget, EFL_UI_RANGE_EVENT_STEADY, _steady_cb, &count), 55 efl_event_callback_add(widget, EFL_UI_RANGE_EVENT_STEADY, _steady_cb, &count),
58 efl_ui_range_limits_set(widget, 0, 100); 56 efl_ui_range_limits_set(widget, 0, 100);
59 efl_ui_range_step_set(widget, 10); 57 efl_ui_range_step_set(widget, 10);