From: glima Date: Mon, 30 Apr 2012 20:47:54 +0000 (+0000) Subject: [evas] When deleting map, resize/move informs will occur, that may want to access... X-Git-Tag: 2.0_alpha~50^2~186 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ea4b5d393d98377e4e5242380098d9e6892cf486;p=framework%2Fuifw%2Fevas.git [evas] When deleting map, resize/move informs will occur, that may want to access smart data. So, don't delete them before that, eh? git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@70560 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/canvas/evas_object_main.c b/src/lib/canvas/evas_object_main.c index 0c9df6c..33665d6 100644 --- a/src/lib/canvas/evas_object_main.c +++ b/src/lib/canvas/evas_object_main.c @@ -439,8 +439,8 @@ evas_object_del(Evas_Object *obj) while (obj->proxy.proxies) evas_object_image_source_unset(obj->proxy.proxies->data); if (obj->cur.clipper) evas_object_clip_unset(obj); - if (obj->smart.smart) evas_object_smart_del(obj); evas_object_map_set(obj, NULL); + if (obj->smart.smart) evas_object_smart_del(obj); _evas_object_event_new(); evas_object_event_callback_call(obj, EVAS_CALLBACK_FREE, NULL, _evas_event_counter); _evas_post_event_callback_call(obj->layer->evas);