X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=TC%2Felm_ts%2Fgenlist%2Futc_UIFW_elm_genlist_item_prev_get_func.c;h=17876ef95e21378a2123ec766c26f2fa3fa2b53f;hb=ecf18d9c32e2fcea4dca264280facbf8599e71a4;hp=8d129ef8a689a52352401bbb6c9a1d92ee2e415e;hpb=107d607fa2e08601f29ae60000b8d73838cb28f0;p=framework%2Fuifw%2Felementary.git diff --git a/TC/elm_ts/genlist/utc_UIFW_elm_genlist_item_prev_get_func.c b/TC/elm_ts/genlist/utc_UIFW_elm_genlist_item_prev_get_func.c index 8d129ef..17876ef 100644 --- a/TC/elm_ts/genlist/utc_UIFW_elm_genlist_item_prev_get_func.c +++ b/TC/elm_ts/genlist/utc_UIFW_elm_genlist_item_prev_get_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; @@ -63,7 +63,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); @@ -75,8 +75,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++) { @@ -100,7 +100,7 @@ static void cleanup(void) */ static void utc_UIFW_elm_genlist_item_prev_get_func_01(void) { - Elm_Genlist_Item *it = NULL, *ret = NULL; + Elm_Object_Item *it = NULL, *ret = NULL; it = elm_genlist_last_item_get(genlist); ret = elm_genlist_item_prev_get(it); @@ -118,7 +118,7 @@ static void utc_UIFW_elm_genlist_item_prev_get_func_01(void) */ static void utc_UIFW_elm_genlist_item_prev_get_func_02(void) { - Elm_Genlist_Item *it = NULL, *ret = NULL; + Elm_Object_Item *it = NULL, *ret = NULL; it = elm_genlist_last_item_get(genlist); ret = elm_genlist_item_prev_get(NULL);