From ee555f36b75a780e1bdd7a119a336874d61206ec Mon Sep 17 00:00:00 2001 From: Shinwoo Kim Date: Tue, 12 Jun 2012 12:41:51 +0900 Subject: [PATCH] elementary/module : Modified 71929 with better way. Thanks ShinWoo. But I recommend to remove all callbacks with elm_widget_top_get(obj). git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@71975 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 Conflicts: src/modules/datetime_input_ctxpopup/datetime_input_ctxpopup.c --- src/modules/datetime_input_ctxpopup/datetime_input_ctxpopup.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/modules/datetime_input_ctxpopup/datetime_input_ctxpopup.c b/src/modules/datetime_input_ctxpopup/datetime_input_ctxpopup.c index 1a6ac6e..15c1c18 100644 --- a/src/modules/datetime_input_ctxpopup/datetime_input_ctxpopup.c +++ b/src/modules/datetime_input_ctxpopup/datetime_input_ctxpopup.c @@ -302,6 +302,9 @@ obj_unhook(Elm_Datetime_Module_Data *module_data) ctx_mod = (Ctxpopup_Module_Data *)module_data; if (!ctx_mod) return; + evas_object_event_callback_del_full(elm_widget_top_get(module_data->base), + EVAS_CALLBACK_RESIZE, + _ctxpopup_parent_resize_cb, ctx_mod); if (ctx_mod->ctxpopup) evas_object_del(ctx_mod->ctxpopup); -- 2.7.4