forked from enlightenment/efl
elm/ctxpopup: check for content object before removing callbacks during del
Summary: ref T7030 Reviewers: devilhorns Reviewed By: devilhorns Subscribers: cedric, #committers Tags: #efl Maniphest Tasks: T7030 Differential Revision: https://phab.enlightenment.org/D6541
This commit is contained in:
parent
64c66dfca9
commit
7a538cbc4a
|
@ -1101,7 +1101,7 @@ _elm_ctxpopup_efl_canvas_group_group_del(Eo *obj, Elm_Ctxpopup_Data *sd)
|
|||
{
|
||||
Elm_Object_Item *it;
|
||||
|
||||
evas_object_event_callback_del(sd->content, EVAS_CALLBACK_DEL, _on_content_del);
|
||||
if (sd->content) evas_object_event_callback_del(sd->content, EVAS_CALLBACK_DEL, _on_content_del);
|
||||
_parent_detach(obj);
|
||||
|
||||
//clear the items before clearing the ctxpopup as this will remove the list and all items
|
||||
|
|
Loading…
Reference in New Issue