Eo: remove the long deprecated eo_data_get.

It has been deprecated for a while, and now it's time to actually stop
using it.
This commit is contained in:
Tom Hacohen 2016-03-04 14:23:02 +00:00
parent 70e900db10
commit b55ec7a34e
3 changed files with 0 additions and 16 deletions

View File

@ -650,15 +650,6 @@ EAPI const Eo_Class *eo_class_get(const Eo *obj);
EAPI Eo * _eo_add_internal_start(const char *file, int line, const Eo_Class *klass_id, Eo *parent, Eina_Bool ref);
/**
* @brief Get a pointer to the data of an object for a specific class.
* @param obj the object to work on.
* @param klass the klass associated with the data.
* @return a pointer to the data.
* @deprecated use eo_data_scope_get or eo_data_ref instead.
*/
EAPI void *eo_data_get(const Eo *obj, const Eo_Class *klass) EINA_DEPRECATED;
/**
* @brief Get a pointer to the data of an object for a specific class.
* The data reference count is not incremented. The pointer must be used only

View File

@ -1453,12 +1453,6 @@ _eo_data_xunref_internal(_Eo_Object *obj, void *data, const _Eo_Object *ref_obj)
#endif
}
EAPI void *
eo_data_get(const Eo *obj_id, const Eo_Class *klass_id)
{
return eo_data_scope_get(obj_id, klass_id);
}
EAPI void *
eo_data_scope_get(const Eo *obj_id, const Eo_Class *klass_id)
{

View File

@ -200,7 +200,6 @@ START_TEST(eo_data_fetch)
obj = eo_add(klass, NULL);
fail_if(!obj);
fail_if(eo_data_get(obj, klass));
fail_if(eo_data_scope_get(obj, klass));
fail_if(!eo_data_scope_get(obj, EO_BASE_CLASS));
eo_unref(obj);