diff --git a/src/lib/eo/eo_base.eo b/src/lib/eo/eo_base.eo index 29a1531bc9..2dfd6abc99 100644 --- a/src/lib/eo/eo_base.eo +++ b/src/lib/eo/eo_base.eo @@ -140,7 +140,7 @@ abstract Eo.Base () @in data: const(void)*; [[the data to set]] } } - key_data_get { + key_data_get @const { [[Get generic data from object.]] params { @in key: const(char)*; [[the key associated with the data]] diff --git a/src/lib/eo/eo_base_class.c b/src/lib/eo/eo_base_class.c index 065c77eae8..665f684af4 100644 --- a/src/lib/eo/eo_base_class.c +++ b/src/lib/eo/eo_base_class.c @@ -77,7 +77,7 @@ _eo_base_key_data_set(Eo *obj, Eo_Base_Data *pd, } EOLIAN static void * -_eo_base_key_data_get(Eo *obj EINA_UNUSED, Eo_Base_Data *pd, const char *key) +_eo_base_key_data_get(const Eo *obj EINA_UNUSED, Eo_Base_Data *pd, const char *key) { /* We don't really change it... */ Eo_Generic_Data_Node *node;