From 66ccbc49be2e92b7b4c730f8b454ecec6aab1a4d Mon Sep 17 00:00:00 2001 From: Shinwoo Kim Date: Mon, 15 Apr 2013 21:37:28 +0900 Subject: [PATCH] [access] revert - delete access object, when its hover object is removed Change-Id: I8ca10235d6faa8865083ebcca06a42995f32c420 --- src/lib/elm_access.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/lib/elm_access.c b/src/lib/elm_access.c index abe88d6..35ca4e2 100644 --- a/src/lib/elm_access.c +++ b/src/lib/elm_access.c @@ -1054,7 +1054,13 @@ _elm_access_object_hilight_disable(Evas *e) static void _access_obj_del_cb(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__) { - _access_object_unregister(obj); + evas_object_event_callback_del_full(obj, EVAS_CALLBACK_RESIZE, + _content_resize, data); + evas_object_event_callback_del_full(obj, EVAS_CALLBACK_MOVE, + _content_move, data); + + _elm_access_object_unregister(data, obj); + evas_object_data_del(obj, "_part_access_obj"); } EAPI void -- 2.7.4