summaryrefslogtreecommitdiff
path: root/src/tests/eolian/data/class_simple_ref.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/tests/eolian/data/class_simple_ref.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/tests/eolian/data/class_simple_ref.c')
-rw-r--r--src/tests/eolian/data/class_simple_ref.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/eolian/data/class_simple_ref.c b/src/tests/eolian/data/class_simple_ref.c
index 46b4dda8f1..4fec41fb02 100644
--- a/src/tests/eolian/data/class_simple_ref.c
+++ b/src/tests/eolian/data/class_simple_ref.c
@@ -24,7 +24,7 @@ int _class_simple_a_get(const Eo *obj, Evas_Simple_Data *pd);
24 24
25 25
26static Eina_Value 26static Eina_Value
27__eolian_class_simple_a_get_reflect(Eo *obj) 27__eolian_class_simple_a_get_reflect(const Eo *obj)
28{ 28{
29 int val = efl_canvas_object_simple_a_get(obj); 29 int val = efl_canvas_object_simple_a_get(obj);
30 return eina_value_int_init(val); 30 return eina_value_int_init(val);