Eo: Make eo_parent_get accept const.

SVN revision: 70864
This commit is contained in:
Tom Hacohen 2012-05-08 06:56:50 +00:00
parent ed1bdf1b7b
commit 3b0dc78489
2 changed files with 2 additions and 2 deletions

View File

@ -530,7 +530,7 @@ EAPI Eo *eo_add(const Eo_Class *klass, Eo *parent);
* @param obj the object to get the parent of.
* @return a pointer to the parent object.
*/
EAPI Eo *eo_parent_get(Eo *obj);
EAPI Eo *eo_parent_get(const Eo *obj);
/**
* @brief Get a pointer to the data of an object for a specific class.

View File

@ -1097,7 +1097,7 @@ eo_del(Eo *obj)
}
EAPI Eo *
eo_parent_get(Eo *obj)
eo_parent_get(const Eo *obj)
{
EO_MAGIC_RETURN_VAL(obj, EO_EINA_MAGIC, NULL);