From 5a7e710466802d5a5d6ab16637726165f058e467 Mon Sep 17 00:00:00 2001 From: cnook Date: Tue, 17 Jan 2012 09:47:10 +0000 Subject: [PATCH] From: cnook Subject: [E-devel] [Patch] Removing content resize callback before the ctxpopup is deleted. Sometimes, widget data is referred after ctxpopup is deleted. So before the ctxpopup is deleted, the content resize callback should be removed. SVN revision: 67268 --- src/lib/elc_ctxpopup.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/elc_ctxpopup.c b/src/lib/elc_ctxpopup.c index 4816eaa..d749e73 100644 --- a/src/lib/elc_ctxpopup.c +++ b/src/lib/elc_ctxpopup.c @@ -729,6 +729,8 @@ _del_pre_hook(Evas_Object *obj) wd = elm_widget_data_get(obj); if (!wd) return; + evas_object_event_callback_del_full(wd->box, EVAS_CALLBACK_RESIZE, + _content_resize, obj); _parent_cut_off(obj); } -- 2.7.4