forked from enlightenment/efl
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:
parent
e520c4f519
commit
782c54cee0
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue