From d82f1308c076cdfd0ded6443c36f57892a793499 Mon Sep 17 00:00:00 2001 From: jypark Date: Fri, 9 Mar 2012 08:51:24 +0000 Subject: [PATCH] remove deprecated function related with elm_index git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@69078 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/examples/index_example_01.c | 2 +- src/lib/elm_index.c | 24 ------------------------ 2 files changed, 1 insertion(+), 25 deletions(-) diff --git a/src/examples/index_example_01.c b/src/examples/index_example_01.c index 41d7bbb..48a6884 100644 --- a/src/examples/index_example_01.c +++ b/src/examples/index_example_01.c @@ -37,7 +37,7 @@ _index_item_del(void *data, "item data reported via callback with the one returned by " "index's API on items: %s.\n", elm_object_item_text_get(data), - data == elm_index_item_data_get(event_info) ? "OK" : + data == elm_object_item_dataget(event_info) ? "OK" : "FAIL, something went wrong"); elm_object_item_del(data); diff --git a/src/lib/elm_index.c b/src/lib/elm_index.c index ce5588b..90e478b 100644 --- a/src/lib/elm_index.c +++ b/src/lib/elm_index.c @@ -853,12 +853,6 @@ elm_index_item_sorted_insert(Evas_Object *obj, const char *letter, Evas_Smart_Cb return (Elm_Object_Item *)it; } -EAPI void -elm_index_item_del(Evas_Object *obj __UNUSED__, Elm_Object_Item *it) -{ - elm_object_item_del(it); -} - EAPI Elm_Object_Item * elm_index_item_find(Evas_Object *obj, const void *data) { @@ -905,18 +899,6 @@ elm_index_level_go(Evas_Object *obj, int level __UNUSED__) if (wd->level == 1) _index_box_auto_fill(obj, wd->bx[1], 1); } -EAPI void * -elm_index_item_data_get(const Elm_Object_Item *it) -{ - return elm_object_item_data_get(it); -} - -EAPI void -elm_index_item_data_set(Elm_Object_Item *it, const void *data) -{ - elm_object_item_data_set(it, (void *) data); -} - EAPI void elm_index_indicator_disabled_set(Evas_Object *obj, Eina_Bool disabled) { @@ -944,12 +926,6 @@ elm_index_indicator_disabled_get(const Evas_Object *obj) return wd->indicator_disabled; } -EAPI void -elm_index_item_del_cb_set(Elm_Object_Item *it, Evas_Smart_Cb func) -{ - elm_object_item_del_cb_set(it, func); -} - EAPI const char * elm_index_item_letter_get(const Elm_Object_Item *it) { -- 2.7.4