Evas eo compat: Freeze object events when deleting.

In the past events wouldn't be called for deleted objects, retain that
behaviour.
This commit is contained in:
Tom Hacohen 2013-05-21 15:07:34 +01:00
parent 6e3f555fe4
commit 3c53b824d8
1 changed files with 3 additions and 0 deletions

View File

@ -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);
}