summaryrefslogtreecommitdiff
path: root/src/lib/eo/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/eo/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/eo/eo.c')
-rw-r--r--src/lib/eo/eo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eo/eo.c b/src/lib/eo/eo.c
index a5da8c0..301a015 100644
--- a/src/lib/eo/eo.c
+++ b/src/lib/eo/eo.c
@@ -3661,7 +3661,7 @@ efl_property_reflection_set(Eo *obj_id, const char *property_name, Eina_Value va
3661} 3661}
3662 3662
3663EAPI Eina_Value 3663EAPI Eina_Value
3664efl_property_reflection_get(Eo *obj_id, const char *property_name) 3664efl_property_reflection_get(const Eo *obj_id, const char *property_name)
3665{ 3665{
3666 Eina_Value r = eina_value_error_init(EINA_ERROR_NOT_IMPLEMENTED); 3666 Eina_Value r = eina_value_error_init(EINA_ERROR_NOT_IMPLEMENTED);
3667 3667