test_menu: Fix wrong parent set.

Set elementary widget as an elementary widget's parent on its
creation.
This commit is contained in:
Daniel Juyung Seo 2014-11-25 22:17:28 +09:00
parent 726c17b399
commit dae6d34f39
1 changed files with 1 additions and 1 deletions

View File

@ -257,7 +257,7 @@ test_menu2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_inf
evas_object_color_set(rect2, 0, 0, 0, 0);
evas_object_show(rect2);
mn = elm_menu_add(rect);
mn = elm_menu_add(win);
elm_menu_item_add(mn, NULL, NULL, "first item", NULL, NULL);
menu_it = elm_menu_item_add(mn, NULL, NULL, "second item", NULL, NULL);
elm_menu_item_add(mn, menu_it, NULL, "item 1", NULL, NULL);