elm genlist: Fixed wrong API. elm_genlist_decorate_type_get -> elm_genlist_decorate_mode_get

Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 68996
This commit is contained in:
Daniel Juyung Seo 2012-03-07 16:32:17 +00:00 committed by Daniel Juyung Seo
parent f3f5696016
commit cc20f1cf72
4 changed files with 4 additions and 4 deletions

View File

@ -71,7 +71,7 @@ _show_status_cb(void *data, Evas_Object *o __UNUSED__, void *event_info __UNUSED
EINA_LIST_FOREACH(realized, l, glit)
printf("%p ", glit);
printf("\n");
printf("genlist mode: %s\n", elm_genlist_decorate_type_get(list));
printf("genlist mode: %s\n", elm_genlist_decorate_mode_get(list));
printf("mode item: %p\n", elm_genlist_decorated_item_get(list));
evas_object_geometry_get(list, &x, &y, &w, &h);

View File

@ -6288,7 +6288,7 @@ EINA_DEPRECATED EAPI void elm_genlist_item_mode_set(Elm
* This function just returns the name of the last used genlist mode. It will
* be the current mode if it's still active.
*
* @deprecated elm_genlist_decorate_type_get()
* @deprecated elm_genlist_decorate_mode_get()
*/
EINA_DEPRECATED EAPI const char *elm_genlist_mode_type_get(const Evas_Object *obj);

View File

@ -5489,7 +5489,7 @@ elm_genlist_item_decorate_mode_set(Elm_Object_Item *it,
}
EAPI const char *
elm_genlist_decorate_type_get(const Evas_Object *obj)
elm_genlist_decorate_mode_get(const Evas_Object *obj)
{
ELM_CHECK_WIDTYPE(obj, widtype) NULL;
Widget_Data *wd = elm_widget_data_get(obj);

View File

@ -1614,7 +1614,7 @@ EAPI void elm_genlist_item_decorate_mode_set(Elm_Object
*
* @ingroup Genlist
*/
EAPI const char *elm_genlist_decorate_type_get(const Evas_Object *obj);
EAPI const char *elm_genlist_decorate_mode_get(const Evas_Object *obj);
/**
* Get active genlist mode item