}
while (eina_array_count(chain) > 1)
- efl_event_callback_call(eina_array_pop(chain), EFL_UI_FOCUS_OBJECT_EVENT_CHILD_FOCUS_CHANGED , (void*)EINA_TRUE);
+ {
+ Eina_Bool child_focus_changed = EINA_TRUE;
+ efl_event_callback_call(eina_array_pop(chain), EFL_UI_FOCUS_OBJECT_EVENT_CHILD_FOCUS_CHANGED , &child_focus_changed);
+ }
while (eina_array_count(old_chain) > 1)
- efl_event_callback_call(eina_array_pop(old_chain), EFL_UI_FOCUS_OBJECT_EVENT_CHILD_FOCUS_CHANGED, (void*)EINA_FALSE);
+ {
+ Eina_Bool child_focus_changed = EINA_FALSE;
+ efl_event_callback_call(eina_array_pop(old_chain), EFL_UI_FOCUS_OBJECT_EVENT_CHILD_FOCUS_CHANGED, &child_focus_changed);
+ }
end:
eina_array_free(old_chain);
parent = efl_ui_focus_object_focus_parent_get(obj);
if (parent)
efl_ui_focus_object_child_focus_set(parent, focus);
- efl_event_callback_call(obj, EFL_UI_FOCUS_OBJECT_EVENT_FOCUS_CHANGED , (void*) (uintptr_t) focus);
+ efl_event_callback_call(obj, EFL_UI_FOCUS_OBJECT_EVENT_FOCUS_CHANGED , &focus);
}
EOLIAN static Eina_Bool