summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2018-07-09 16:53:23 -0400
committerChris Michael <cp.michael@samsung.com>2018-07-09 16:53:24 -0400
commit7a538cbc4a6e2a63f3bd9ef858208ac2f813b002 (patch)
tree66111cef60a51d324ec283de41a258f1a414153d
parent64c66dfca99fd7c35372f482375ef302cc621f94 (diff)
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
-rw-r--r--src/lib/elementary/elc_ctxpopup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elementary/elc_ctxpopup.c b/src/lib/elementary/elc_ctxpopup.c
index 8b9c3480d3..9c3ddc743f 100644
--- a/src/lib/elementary/elc_ctxpopup.c
+++ b/src/lib/elementary/elc_ctxpopup.c
@@ -1101,7 +1101,7 @@ _elm_ctxpopup_efl_canvas_group_group_del(Eo *obj, Elm_Ctxpopup_Data *sd)
1101{ 1101{
1102 Elm_Object_Item *it; 1102 Elm_Object_Item *it;
1103 1103
1104 evas_object_event_callback_del(sd->content, EVAS_CALLBACK_DEL, _on_content_del); 1104 if (sd->content) evas_object_event_callback_del(sd->content, EVAS_CALLBACK_DEL, _on_content_del);
1105 _parent_detach(obj); 1105 _parent_detach(obj);
1106 1106
1107 //clear the items before clearing the ctxpopup as this will remove the list and all items 1107 //clear the items before clearing the ctxpopup as this will remove the list and all items