forked from enlightenment/efl
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:
parent
6e3f555fe4
commit
3c53b824d8
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue