From: seoz Date: Fri, 2 Mar 2012 12:07:55 +0000 (+0000) Subject: elm test_genlist.c: Revised test code. X-Git-Tag: REL_F_I9500_20120323_1~17^2~446 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=20dadc03eff81c839d2fab52df165649d35b3dd8;p=framework%2Fuifw%2Felementary.git elm test_genlist.c: Revised test code. Signed-off-by: Daniel Juyung Seo git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@68625 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/bin/test_genlist.c b/src/bin/test_genlist.c index 2e78423..2980af4 100644 --- a/src/bin/test_genlist.c +++ b/src/bin/test_genlist.c @@ -2418,19 +2418,13 @@ void gl15_del(void *data __UNUSED__, Evas_Object *obj __UNUSED__) void test_genlist15(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__) { - Evas_Object *win, *bg, *bx, *bx2, *bt, *gl; + Evas_Object *win, *bx, *bx2, *bt, *gl; int i; static Testitem tit[100]; - win = elm_win_add(NULL, "genlist15", ELM_WIN_BASIC); - elm_win_title_set(win, "Genlist Edit Mode"); + win = elm_win_util_standard_add("genlist-edit-mode", "Genlist Edit Mode"); elm_win_autodel_set(win, EINA_TRUE); - bg = elm_bg_add(win); - elm_win_resize_object_add(win, bg); - evas_object_size_hint_weight_set(bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); - evas_object_show(bg); - bx = elm_box_add(win); evas_object_size_hint_weight_set(bx, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); elm_win_resize_object_add(win, bx);