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:
parent
f9c2c5fd69
commit
f55ce04d1f
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue