summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_notify_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_notify_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_notify_eo.c')
-rw-r--r--src/lib/elementary/elm_notify_eo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/elementary/elm_notify_eo.c b/src/lib/elementary/elm_notify_eo.c
index b4974fabb6..fb64698d46 100644
--- a/src/lib/elementary/elm_notify_eo.c
+++ b/src/lib/elementary/elm_notify_eo.c
@@ -37,7 +37,7 @@ Eina_Bool _elm_notify_allow_events_get(const Eo *obj, Elm_Notify_Data *pd);
37 37
38 38
39static Eina_Value 39static Eina_Value
40__eolian_elm_notify_allow_events_get_reflect(Eo *obj) 40__eolian_elm_notify_allow_events_get_reflect(const Eo *obj)
41{ 41{
42 Eina_Bool val = elm_obj_notify_allow_events_get(obj); 42 Eina_Bool val = elm_obj_notify_allow_events_get(obj);
43 return eina_value_bool_init(val); 43 return eina_value_bool_init(val);
@@ -69,7 +69,7 @@ double _elm_notify_timeout_get(const Eo *obj, Elm_Notify_Data *pd);
69 69
70 70
71static Eina_Value 71static Eina_Value
72__eolian_elm_notify_timeout_get_reflect(Eo *obj) 72__eolian_elm_notify_timeout_get_reflect(const Eo *obj)
73{ 73{
74 double val = elm_obj_notify_timeout_get(obj); 74 double val = elm_obj_notify_timeout_get(obj);
75 return eina_value_double_init(val); 75 return eina_value_double_init(val);