X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=TC%2Felm_ts%2Fgenlist%2Futc_UIFW_elm_genlist_edit_mode_set_func.c;h=c67e08bcd4ccf9fe411312c4865b5ae608a73e8d;hb=ecf18d9c32e2fcea4dca264280facbf8599e71a4;hp=1164473fbc19277b7685ab38f46a1a5d8f268044;hpb=327f42120d173f1acb8b095297a21f004fbe6172;p=framework%2Fuifw%2Felementary.git diff --git a/TC/elm_ts/genlist/utc_UIFW_elm_genlist_edit_mode_set_func.c b/TC/elm_ts/genlist/utc_UIFW_elm_genlist_edit_mode_set_func.c index 1164473..c67e08b 100644 --- a/TC/elm_ts/genlist/utc_UIFW_elm_genlist_edit_mode_set_func.c +++ b/TC/elm_ts/genlist/utc_UIFW_elm_genlist_edit_mode_set_func.c @@ -52,7 +52,7 @@ struct tet_testlist tet_testlist[] = { { NULL, 0 } }; -static char *_gl_label_get( const void *data, Evas_Object *obj, const char *part ) +static char *_gl_text_get( const void *data, Evas_Object *obj, const char *part ) { int index = (int) data; @@ -64,7 +64,7 @@ static char *_gl_label_get( const void *data, Evas_Object *obj, const char *part static void startup(void) { - Elm_Genlist_Item *item = NULL; + Elm_Object_Item *item = NULL; int index = 0; tet_infoline("[[ TET_MSG ]]:: ============ Startup ============ "); elm_init(0, NULL); @@ -76,8 +76,8 @@ static void startup(void) evas_object_size_hint_align_set(genlist, EVAS_HINT_FILL, EVAS_HINT_FILL); evas_object_size_hint_weight_set(genlist, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); itc.item_style = "1line_textonly"; - itc.func.label_get = _gl_label_get; - itc.func.icon_get = NULL; + itc.func.text_get = _gl_text_get; + itc.func.content_get = NULL; itc.func.state_get = NULL; itc.func.del = NULL; for (index = 0; index < 5; index++) {