summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Juyung Seo <juyung.seo@samsung.com>2013-11-22 22:48:22 +0900
committerDaniel Juyung Seo <juyung.seo@samsung.com>2013-11-22 22:49:19 +0900
commit6f610ebcee1d6d7d98c5a4fc16132b755ee648ce (patch)
treedc44820d28486f4f8da6207b41be79366cfda13f /src
parentda3f93ef06cd78654c82470f3f852ea46d70e561 (diff)
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.
Diffstat (limited to 'src')
-rw-r--r--src/examples/general_funcs_example.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/examples/general_funcs_example.c b/src/examples/general_funcs_example.c
index fe3d3e52b..731f7b8af 100644
--- a/src/examples/general_funcs_example.c
+++ b/src/examples/general_funcs_example.c
@@ -112,7 +112,6 @@ elm_main(int argc,
112 b = elm_box_add(win); 112 b = elm_box_add(win);
113 elm_box_horizontal_set(b, EINA_FALSE); 113 elm_box_horizontal_set(b, EINA_FALSE);
114 evas_object_size_hint_weight_set(b, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); 114 evas_object_size_hint_weight_set(b, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
115 elm_win_resize_object_add(win, b);
116 elm_box_pack_end(box, b); 115 elm_box_pack_end(box, b);
117 evas_object_show(b); 116 evas_object_show(b);
118 117