elementary/elm_menu : Fix a crash. _menu_resize_cb should be removed

before hover and its target are deleted.  


SVN revision: 71276
This commit is contained in:
WooHyun Jung 2012-05-21 09:12:47 +00:00
parent f9c2c5fd69
commit f55ce04d1f
1 changed files with 3 additions and 0 deletions

View File

@ -622,6 +622,9 @@ _elm_menu_smart_del(Evas_Object *obj)
EINA_LIST_FREE (sd->items, item)
_item_del(item);
evas_object_event_callback_del_full
(sd->bx, EVAS_CALLBACK_RESIZE, _menu_resize_cb, obj);
if (sd->hv) evas_object_del(sd->hv);
if (sd->location) evas_object_del(sd->location);