static int cb_count = 0;
static Eina_Bool
+_null_cb(void *data, Eo *obj, const Eo_Event_Description *desc, void *event_info)
+{
+ (void) desc;
+ (void) obj;
+ (void) data;
+ (void) event_info;
+ return EO_CALLBACK_CONTINUE;
+}
+
+static Eina_Bool
_a_changed_cb(void *data, Eo *obj, const Eo_Event_Description *desc, void *event_info)
{
(void) desc;
cb_count++;
+ eo_do(obj, eo_event_callback_priority_add(EV_A_CHANGED, EO_CALLBACK_PRIORITY_BEFORE, _null_cb, (void *) 23423));
+ eo_do(obj, eo_event_callback_del(EV_A_CHANGED, _null_cb, (void *) 23423));
+
/* Stop as we reached the 3rd one. */
return (cb_count != 3);
}