forked from enlightenment/efl
can optimise this a bit and avoid magic checks as its internal.
SVN revision: 51735
This commit is contained in:
parent
cfa7e00a53
commit
f3faf1730b
|
@ -165,12 +165,10 @@ evas_object_event_callback_call(Evas_Object *obj, Evas_Callback_Type type, void
|
|||
Evas_Button_Flags flags = EVAS_BUTTON_NONE;
|
||||
Evas *e;
|
||||
|
||||
if ((obj->delete_me) || (!obj->layer)) return;
|
||||
if (obj->last_event == _evas_event_counter) return;
|
||||
|
||||
obj->last_event = _evas_event_counter;
|
||||
|
||||
if (obj->delete_me) return;
|
||||
e = evas_object_evas_get(obj);
|
||||
if (!(e = obj->layer->evas)) return;
|
||||
|
||||
_evas_walk(e);
|
||||
if (obj->callbacks)
|
||||
|
|
Loading…
Reference in New Issue