general_funcs_example.c: fixed wrong window's resize object addition logic in general_funcs sample code.

Do not use elm_win_resize_object_add() if that object is already a child of another object.
This commit is contained in:
Daniel Juyung Seo 2013-11-22 22:48:22 +09:00
parent e520c4f519
commit 782c54cee0
1 changed files with 0 additions and 1 deletions

View File

@ -112,7 +112,6 @@ elm_main(int argc,
b = elm_box_add(win);
elm_box_horizontal_set(b, EINA_FALSE);
evas_object_size_hint_weight_set(b, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
elm_win_resize_object_add(win, b);
elm_box_pack_end(box, b);
evas_object_show(b);