}
#define EFL_OBJECT_EVENT_CALLBACK_BLOCK(Pd, Desc, Event) \
- if ((Desc == Event) && (!(Pd->event_cb_##Event))) return EINA_FALSE;
+ if ((Desc == Event) && (!(Pd->event_cb_##Event))) return EINA_TRUE;
static inline Eina_Bool
_event_callback_call(Eo *obj_id, Efl_Object_Data *pd,
};
int event_hash;
- if (pd->callbacks_count == 0) return EINA_FALSE;
+ if (pd->callbacks_count == 0) return EINA_TRUE;
else EFL_OBJECT_EVENT_CALLBACK_BLOCK(pd, desc, EFL_EVENT_CALLBACK_ADD)
else EFL_OBJECT_EVENT_CALLBACK_BLOCK(pd, desc, EFL_EVENT_CALLBACK_DEL)
else EFL_OBJECT_EVENT_CALLBACK_BLOCK(pd, desc, EFL_EVENT_DEL)
{
event_hash = _pointer_hash((uintptr_t) desc);
if (!(pd->callbacks_mask & (1 << event_hash)))
- return EINA_FALSE;
+ return EINA_TRUE;
}
if (pd->event_frame)
// Handle nested restart of walking list
if (lookup) lookup->current = idx - 1;
+
it->func((void *) (*cb)->func_data, &ev);
/* Abort callback calling if the func says so. */
if (pd->callback_stopped)
// Handle nested restart of walking list
if (lookup) lookup->current = idx - 1;
+
(*cb)->items.item.func((void *) (*cb)->func_data, &ev);
/* Abort callback calling if the func says so. */
if (pd->callback_stopped)
Eina_Bool ret = EINA_FALSE;
ret = efl_event_callback_call(new_obj, event->desc, event->info);
-
if (!ret)
{
efl_event_callback_stop(event->object);