elm list: Changed elm_list_item_base_get() to elm_list_item_object_get() like other...
authorseoz <seoz@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 23 Aug 2011 16:55:28 +0000 (16:55 +0000)
committerseoz <seoz@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 23 Aug 2011 16:55:28 +0000 (16:55 +0000)
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

src/lib/Elementary.h.in
src/lib/elm_list.c

index e906434..cc6c894 100644 (file)
@@ -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.
index b53b933..f80bd63 100644 (file)
@@ -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;
 }