From: seoz Date: Tue, 23 Aug 2011 16:55:28 +0000 (+0000) Subject: elm list: Changed elm_list_item_base_get() to elm_list_item_object_get() like other... X-Git-Tag: REL_F_I9500_20120323_1~17^2~1909 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ff69fb49d9efa148c47f0e6a34c838e961134942;p=framework%2Fuifw%2Felementary.git elm list: Changed elm_list_item_base_get() to elm_list_item_object_get() like other widgets such as gengrid/menu/genlist/slideshow/segment_control. I also changed all related code in trunk. Deprecated elm_list_item_base_get(). I will remove this later. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@62730 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/Elementary.h.in b/src/lib/Elementary.h.in index e906434..cc6c894 100644 --- a/src/lib/Elementary.h.in +++ b/src/lib/Elementary.h.in @@ -15355,7 +15355,8 @@ extern "C" { * * @ingroup List */ - EAPI Evas_Object *elm_list_item_base_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1); + EAPI Evas_Object *elm_list_item_object_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1); + EINA_DEPRECATED EAPI Evas_Object *elm_list_item_base_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1); /** * Get the label of item. diff --git a/src/lib/elm_list.c b/src/lib/elm_list.c index b53b933..f80bd63 100644 --- a/src/lib/elm_list.c +++ b/src/lib/elm_list.c @@ -1848,6 +1848,12 @@ elm_list_item_end_set(Elm_List_Item *it, Evas_Object *end) EAPI Evas_Object * elm_list_item_base_get(const Elm_List_Item *it) { + return elm_list_item_object_get(it); +} + +EAPI Evas_Object * +elm_list_item_object_get(const Elm_List_Item *it) +{ ELM_LIST_ITEM_CHECK_DELETED_RETURN(it, NULL); return it->base.view; }