Enlightenment CVS committal Author : barbieri Project : e17 Module : libs/evas
Dir : e17/libs/evas/src/lib/canvas Modified Files: evas_object_main.c Log Message: Reorder emission of EVAS_CALLBACK_FREE event. Now EVAS_CALLBACK_FREE is emitted after smart object's "del" implementation, this way bindings/wrappers can observe this event in order to release its wrappers and be sure that they'll not be used anymore. Please check your existing code to see if you don't rely on the old behavior. =================================================================== RCS file: /cvs/e/e17/libs/evas/src/lib/canvas/evas_object_main.c,v retrieving revision 1.58 retrieving revision 1.59 diff -u -3 -r1.58 -r1.59 --- evas_object_main.c 22 Aug 2007 16:45:37 -0000 1.58 +++ evas_object_main.c 25 Sep 2007 13:33:12 -0000 1.59 @@ -478,11 +478,11 @@ obj->layer->evas->pointer.mouse_grabbed -= obj->mouse_grabbed; obj->mouse_grabbed = 0; evas_object_hide(obj); - evas_object_event_callback_call(obj, EVAS_CALLBACK_FREE, NULL); evas_object_grabs_cleanup(obj); while (obj->clip.clipees) evas_object_clip_unset(obj->clip.clipees->data); if (obj->cur.clipper) evas_object_clip_unset(obj); if (obj->smart.smart) evas_object_smart_del(obj); + evas_object_event_callback_call(obj, EVAS_CALLBACK_FREE, NULL); evas_object_smart_cleanup(obj); obj->delete_me = 1; evas_object_change(obj); ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs