tasn pushed a commit to branch master.

commit 3c53b824d861ef91662fbe523e4457b6a6d3c8b7
Author: Tom Hacohen <[email protected]>
Date:   Tue May 21 15:07:34 2013 +0100

    Evas eo compat: Freeze object events when deleting.
    
    In the past events wouldn't be called for deleted objects, retain that
    behaviour.
---
 src/lib/evas/canvas/evas_object_main.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/lib/evas/canvas/evas_object_main.c 
b/src/lib/evas/canvas/evas_object_main.c
index f1ba18f..ee215bc 100644
--- a/src/lib/evas/canvas/evas_object_main.c
+++ b/src/lib/evas/canvas/evas_object_main.c
@@ -605,6 +605,9 @@ evas_object_del(Evas_Object *eo_obj)
 
    obj->eo_del_called = EINA_TRUE;
 
+   /* This makes sure that only hot-events will be called. This is here for
+    * compatibility with old behaviour of callback calling. */
+   eo_do(eo_obj, eo_event_freeze());
    eo_parent_set(eo_obj, NULL);
 //   eo_del(eo_obj);
 }

-- 

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may

Reply via email to