summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAmitesh Singh <amitesh.sh@samsung.com>2017-11-14 09:54:42 +0900
committerAmitesh Singh <amitesh.sh@samsung.com>2017-11-14 09:54:42 +0900
commit9ba451c98addabe2f965312a4bea26f8a3f1da90 (patch)
treeede738d785294b9d13d35ce847981688c81fc480 /src
parent5017f06a728cbfb33f911acd867ff9b4bf81515f (diff)
Efl.Ui.Slider_Interval: remove smart data associated with class.
Its not getting used anywhere.
Diffstat (limited to 'src')
-rw-r--r--src/lib/elementary/efl_ui_slider_interval.c10
-rw-r--r--src/lib/elementary/efl_ui_slider_interval.eo1
2 files changed, 4 insertions, 7 deletions
diff --git a/src/lib/elementary/efl_ui_slider_interval.c b/src/lib/elementary/efl_ui_slider_interval.c
index c9bcca1d53..8002879b7f 100644
--- a/src/lib/elementary/efl_ui_slider_interval.c
+++ b/src/lib/elementary/efl_ui_slider_interval.c
@@ -13,12 +13,8 @@
13#define MY_CLASS EFL_UI_SLIDER_INTERVAL_CLASS 13#define MY_CLASS EFL_UI_SLIDER_INTERVAL_CLASS
14#define MY_CLASS_NAME "Efl.Ui.Slider_Interval" 14#define MY_CLASS_NAME "Efl.Ui.Slider_Interval"
15 15
16typedef struct
17{
18} Efl_Ui_Slider_Interval_Data;
19
20EOLIAN static void 16EOLIAN static void
21_efl_ui_slider_interval_interval_value_get(Eo *obj, Efl_Ui_Slider_Interval_Data *sd EINA_UNUSED, double *from, double *to) 17_efl_ui_slider_interval_interval_value_get(Eo *obj, void *sd EINA_UNUSED, double *from, double *to)
22{ 18{
23 Efl_Ui_Slider_Data *pd = efl_data_scope_get(obj, EFL_UI_SLIDER_CLASS); 19 Efl_Ui_Slider_Data *pd = efl_data_scope_get(obj, EFL_UI_SLIDER_CLASS);
24 if (from) *from = fmin(pd->intvl_from, pd->intvl_to); 20 if (from) *from = fmin(pd->intvl_from, pd->intvl_to);
@@ -90,7 +86,7 @@ _visuals_refresh(Eo *obj)
90} 86}
91 87
92EOLIAN static void 88EOLIAN static void
93_efl_ui_slider_interval_interval_value_set(Eo *obj, Efl_Ui_Slider_Interval_Data *sd EINA_UNUSED, double from, double to) 89_efl_ui_slider_interval_interval_value_set(Eo *obj, void *sd EINA_UNUSED, double from, double to)
94{ 90{
95 Efl_Ui_Slider_Data *pd = efl_data_scope_get(obj, EFL_UI_SLIDER_CLASS); 91 Efl_Ui_Slider_Data *pd = efl_data_scope_get(obj, EFL_UI_SLIDER_CLASS);
96 92
@@ -105,7 +101,7 @@ _efl_ui_slider_interval_interval_value_set(Eo *obj, Efl_Ui_Slider_Interval_Data
105} 101}
106 102
107EOLIAN static Efl_Object * 103EOLIAN static Efl_Object *
108_efl_ui_slider_interval_efl_object_finalize(Eo *obj, Efl_Ui_Slider_Interval_Data *sd EINA_UNUSED) 104_efl_ui_slider_interval_efl_object_finalize(Eo *obj, void *sd EINA_UNUSED)
109{ 105{
110 Efl_Ui_Slider_Data *pd = efl_data_scope_get(obj, EFL_UI_SLIDER_CLASS); 106 Efl_Ui_Slider_Data *pd = efl_data_scope_get(obj, EFL_UI_SLIDER_CLASS);
111 107
diff --git a/src/lib/elementary/efl_ui_slider_interval.eo b/src/lib/elementary/efl_ui_slider_interval.eo
index 9c86c463c2..3141fbbaac 100644
--- a/src/lib/elementary/efl_ui_slider_interval.eo
+++ b/src/lib/elementary/efl_ui_slider_interval.eo
@@ -6,6 +6,7 @@ class Efl.Ui.Slider_Interval (Efl.Ui.Slider)
6 6
7 @since 1.21 7 @since 1.21
8 ]] 8 ]]
9 data: null;
9 legacy_prefix: null; 10 legacy_prefix: null;
10 methods { 11 methods {
11 @property interval_value { 12 @property interval_value {