summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_colorselector_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_colorselector_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_colorselector_eo.c')
-rw-r--r--src/lib/elementary/elm_colorselector_eo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elementary/elm_colorselector_eo.c b/src/lib/elementary/elm_colorselector_eo.c
index 2fd6bbd1a8..aba3685bd4 100644
--- a/src/lib/elementary/elm_colorselector_eo.c
+++ b/src/lib/elementary/elm_colorselector_eo.c
@@ -39,7 +39,7 @@ const char *_elm_colorselector_palette_name_get(const Eo *obj, Elm_Colorselector
39 39
40 40
41static Eina_Value 41static Eina_Value
42__eolian_elm_colorselector_palette_name_get_reflect(Eo *obj) 42__eolian_elm_colorselector_palette_name_get_reflect(const Eo *obj)
43{ 43{
44 const char *val = elm_obj_colorselector_palette_name_get(obj); 44 const char *val = elm_obj_colorselector_palette_name_get(obj);
45 return eina_value_string_init(val); 45 return eina_value_string_init(val);