tasn pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=b55ec7a34e12e36ca54541ee0b250e802ab0a13f

commit b55ec7a34e12e36ca54541ee0b250e802ab0a13f
Author: Tom Hacohen <t...@stosb.com>
Date:   Fri Mar 4 14:23:02 2016 +0000

    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.
---
 src/lib/eo/Eo.h                      | 9 ---------
 src/lib/eo/eo.c                      | 6 ------
 src/tests/eo/suite/eo_test_general.c | 1 -
 3 files changed, 16 deletions(-)

diff --git a/src/lib/eo/Eo.h b/src/lib/eo/Eo.h
index a0b817c..57d1c12 100644
--- a/src/lib/eo/Eo.h
+++ b/src/lib/eo/Eo.h
@@ -652,15 +652,6 @@ EAPI Eo * _eo_add_internal_start(const char *file, int 
line, const Eo_Class *kla
 
 /**
  * @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
  * in the scope of the function and its callees.
  * @param obj the object to work on.
diff --git a/src/lib/eo/eo.c b/src/lib/eo/eo.c
index cc0c978..996b961 100644
--- a/src/lib/eo/eo.c
+++ b/src/lib/eo/eo.c
@@ -1454,12 +1454,6 @@ _eo_data_xunref_internal(_Eo_Object *obj, void *data, 
const _Eo_Object *ref_obj)
 }
 
 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)
 {
    void *ret;
diff --git a/src/tests/eo/suite/eo_test_general.c 
b/src/tests/eo/suite/eo_test_general.c
index cfe5767..c01a621 100644
--- a/src/tests/eo/suite/eo_test_general.c
+++ b/src/tests/eo/suite/eo_test_general.c
@@ -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);

-- 


Reply via email to