summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_panel_eo.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2019-02-15 13:48:59 -0800
committerCedric BAIL <cedric.bail@free.fr>2019-03-08 14:31:08 -0800
commitbc12d9feb5e2904bc9d8e294d922e5de1a95757f (patch)
treebaec76e11965779e96f8688c51f3398d9a0f1864 /src/lib/elementary/elm_panel_eo.c
parent6bb197caa9181f6c2639ecd25649a8237c158dd4 (diff)
eo: make reflection getter const function.
Getter are usually not modifying there object. This is going to put a strong limit on what a getter property for MVVM is, as it will prevent any side effect on getting a property from a View. Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D7969
Diffstat (limited to 'src/lib/elementary/elm_panel_eo.c')
-rw-r--r--src/lib/elementary/elm_panel_eo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/elementary/elm_panel_eo.c b/src/lib/elementary/elm_panel_eo.c
index d54be07afe..d8b60f37e6 100644
--- a/src/lib/elementary/elm_panel_eo.c
+++ b/src/lib/elementary/elm_panel_eo.c
@@ -33,7 +33,7 @@ Eina_Bool _elm_panel_hidden_get(const Eo *obj, Elm_Panel_Data *pd);
33 33
34 34
35static Eina_Value 35static Eina_Value
36__eolian_elm_panel_hidden_get_reflect(Eo *obj) 36__eolian_elm_panel_hidden_get_reflect(const Eo *obj)
37{ 37{
38 Eina_Bool val = elm_obj_panel_hidden_get(obj); 38 Eina_Bool val = elm_obj_panel_hidden_get(obj);
39 return eina_value_bool_init(val); 39 return eina_value_bool_init(val);
@@ -65,7 +65,7 @@ Eina_Bool _elm_panel_scrollable_get(const Eo *obj, Elm_Panel_Data *pd);
65 65
66 66
67static Eina_Value 67static Eina_Value
68__eolian_elm_panel_scrollable_get_reflect(Eo *obj) 68__eolian_elm_panel_scrollable_get_reflect(const Eo *obj)
69{ 69{
70 Eina_Bool val = elm_obj_panel_scrollable_get(obj); 70 Eina_Bool val = elm_obj_panel_scrollable_get(obj);
71 return eina_value_bool_init(val); 71 return eina_value_bool_init(val);
@@ -97,7 +97,7 @@ double _elm_panel_scrollable_content_size_get(const Eo *obj, Elm_Panel_Data *pd)
97 97
98 98
99static Eina_Value 99static Eina_Value
100__eolian_elm_panel_scrollable_content_size_get_reflect(Eo *obj) 100__eolian_elm_panel_scrollable_content_size_get_reflect(const Eo *obj)
101{ 101{
102 double val = elm_obj_panel_scrollable_content_size_get(obj); 102 double val = elm_obj_panel_scrollable_content_size_get(obj);
103 return eina_value_double_init(val); 103 return eina_value_double_init(val);