From: jaehwan Date: Tue, 22 May 2012 10:33:14 +0000 (+0000) Subject: The parent of elm_menu_add shouldn't be a edje object. X-Git-Tag: 1.0.0+svn.70492slp2+build19~34 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0e73f1624fa9d2714f8a7cdfbde736c460b0bbd0;p=framework%2Fuifw%2Felementary.git The parent of elm_menu_add shouldn't be a edje object. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@71314 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/elm_toolbar.c b/src/lib/elm_toolbar.c index 75a2093..ff95df0 100644 --- a/src/lib/elm_toolbar.c +++ b/src/lib/elm_toolbar.c @@ -580,7 +580,7 @@ _sizing_eval(Evas_Object *obj) static void _item_menu_create(Widget_Data *wd, Elm_Toolbar_Item *item) { - item->o_menu = elm_menu_add(VIEW(item)); + item->o_menu = elm_menu_add(WIDGET(item)); item->menu = EINA_TRUE; if (wd->menu_parent) elm_menu_parent_set(item->o_menu, wd->menu_parent);