can optimise this a bit and avoid magic checks as its internal.

SVN revision: 51735
This commit is contained in:
Carsten Haitzler 2010-08-29 22:59:11 +00:00
parent cfa7e00a53
commit f3faf1730b
1 changed files with 2 additions and 4 deletions

View File

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