summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2014-11-25 22:17:28 +0900
committerDaniel Juyung Seo <seojuyung2@gmail.com>2014-11-25 22:17:46 +0900
commit40b1fc9ccc501d0ac1c9f5a6ab39f75e82b95079 (patch)
treeec3d97ccf827e2a5c94b374d7e0a76096bf924cc
parent3e17edaef7e4ebdea100de1b26a1d41e930ec7b8 (diff)
test_menu: Fix wrong parent set.
Set elementary widget as an elementary widget's parent on its creation.
-rw-r--r--src/bin/test_menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/test_menu.c b/src/bin/test_menu.c
index 667f30cf3..ec084e68a 100644
--- a/src/bin/test_menu.c
+++ b/src/bin/test_menu.c
@@ -257,7 +257,7 @@ test_menu2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_inf
257 evas_object_color_set(rect2, 0, 0, 0, 0); 257 evas_object_color_set(rect2, 0, 0, 0, 0);
258 evas_object_show(rect2); 258 evas_object_show(rect2);
259 259
260 mn = elm_menu_add(rect); 260 mn = elm_menu_add(win);
261 elm_menu_item_add(mn, NULL, NULL, "first item", NULL, NULL); 261 elm_menu_item_add(mn, NULL, NULL, "first item", NULL, NULL);
262 menu_it = elm_menu_item_add(mn, NULL, NULL, "second item", NULL, NULL); 262 menu_it = elm_menu_item_add(mn, NULL, NULL, "second item", NULL, NULL);
263 elm_menu_item_add(mn, menu_it, NULL, "item 1", NULL, NULL); 263 elm_menu_item_add(mn, menu_it, NULL, "item 1", NULL, NULL);