forked from enlightenment/efl
elm genlist: Fixed API bug. API change introduced API bug.
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com> SVN revision: 69037
This commit is contained in:
parent
0688b59a12
commit
86244f433d
|
@ -5489,12 +5489,11 @@ elm_genlist_item_decorate_mode_set(Elm_Object_Item *it,
|
|||
}
|
||||
|
||||
EAPI const char *
|
||||
elm_genlist_item_decorate_mode_get(const Evas_Object *obj)
|
||||
elm_genlist_item_decorate_mode_get(const Elm_Object_Item *it)
|
||||
{
|
||||
ELM_CHECK_WIDTYPE(obj, widtype) NULL;
|
||||
Widget_Data *wd = elm_widget_data_get(obj);
|
||||
if (!wd) return NULL;
|
||||
return wd->mode_type;
|
||||
ELM_OBJ_ITEM_CHECK_OR_RETURN(it, NULL);
|
||||
Elm_Gen_Item *_it = (Elm_Gen_Item *)it;
|
||||
return _it->wd->mode_type;
|
||||
}
|
||||
|
||||
EAPI const Elm_Object_Item *
|
||||
|
|
|
@ -1602,19 +1602,18 @@ EAPI void elm_genlist_item_fields_update(Elm_Object_Ite
|
|||
EAPI void elm_genlist_item_decorate_mode_set(Elm_Object_Item *it, const char *mode_type, Eina_Bool mode_set);
|
||||
|
||||
/**
|
||||
* Get the last (or current) genlist mode used.
|
||||
* Get the item's decorate mode.
|
||||
*
|
||||
* @param obj The genlist object
|
||||
*
|
||||
* This function just returns the name of the last used genlist mode. It will
|
||||
* be the current mode if it's still active.
|
||||
* This function just returns the name of the item's decorate mode.
|
||||
*
|
||||
* @see elm_genlist_item_decorate_mode_set()
|
||||
* @see elm_genlist_decorated_item_get()
|
||||
*
|
||||
* @ingroup Genlist
|
||||
*/
|
||||
EAPI const char *elm_genlist_item_decorate_mode_get(const Evas_Object *obj);
|
||||
EAPI const char *elm_genlist_item_decorate_mode_get(const Elm_Object_Item *it);
|
||||
|
||||
/**
|
||||
* Get active genlist mode item
|
||||
|
|
Loading…
Reference in New Issue