From: cnook Date: Tue, 17 Jan 2012 09:47:10 +0000 (+0000) Subject: From: cnook X-Git-Tag: v1.0.0~1130 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5a7e710466802d5a5d6ab16637726165f058e467;p=platform%2Fupstream%2Felementary.git 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 --- 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); }