From e838d6d2f28c289d83438499dcf5153e724519c2 Mon Sep 17 00:00:00 2001 From: Daniel Juyung Seo Date: Mon, 2 Apr 2012 06:20:22 +0000 Subject: Revert a wrong commit. Un-wanted files are committed together. Revert "elm bin: Use convenient utility function elm_win_util_standard_add() instead of elm_win_add() + elm_bg_add(). This is for normal style (ELM_WIN_BASIC) window." This reverts commit 31b24a0edb0028528d7c859070e03236ba42867b. SVN revision: 69847 --- legacy/elementary/src/bin/test_gesture_layer2.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'legacy/elementary/src/bin/test_gesture_layer2.c') diff --git a/legacy/elementary/src/bin/test_gesture_layer2.c b/legacy/elementary/src/bin/test_gesture_layer2.c index 487c84edef..e61883c05f 100644 --- a/legacy/elementary/src/bin/test_gesture_layer2.c +++ b/legacy/elementary/src/bin/test_gesture_layer2.c @@ -523,16 +523,22 @@ void test_gesture_layer2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__) { - Evas_Object *win, *tb, *lb, *bx; + Evas_Object *win, *bg, *tb, *lb, *bx; Evas_Object *r; /* Gesture layer transparent object */ Evas_Object *g; /* The Gesture Layer object */ infra_data *infra = _infra_data_alloc(); - win = elm_win_util_standard_add("table", "Table"); + win = elm_win_add(NULL, "table", ELM_WIN_BASIC); + elm_win_title_set(win, "Table"); elm_win_autodel_set(win, EINA_TRUE); evas_object_smart_callback_add(win, "delete,request", my_win_del, infra); + bg = elm_bg_add(win); + evas_object_size_hint_weight_set(bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); + elm_win_resize_object_add(win, bg); + evas_object_show(bg); + /* START - Building icons table */ bx = elm_box_add(win); tb = elm_table_add(win); -- cgit v1.2.1