forked from enlightenment/efl
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. SVN revision: 62730
This commit is contained in:
parent
9ab7800bdf
commit
0e3f0d69c6
|
@ -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.
|
||||
|
|
|
@ -1847,6 +1847,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;
|
||||
|
|
Loading…
Reference in New Issue