efl_ui_tab_bar: the type of this event is annotated as object

however, efl_ui_tab_bar does pass in there a int. For now i decided that
we just pass NULL here, if this is not accaptable then we can still add
another event to the object itself.

fix T7758

Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D8418
This commit is contained in:
Marcel Hollerbach 2019-03-20 08:36:21 +01:00
parent 43a1d79ba8
commit c081825bc8
1 changed files with 1 additions and 1 deletions

View File

@ -187,7 +187,7 @@ _tab_select(Efl_Ui_Tab_Bar_Data *sd, Tab_Info *ti)
index = eina_list_data_idx(sd->tab_infos, ti);
efl_event_callback_call(tp, EFL_UI_EVENT_ITEM_SELECTED, (void *)(intptr_t)index);
efl_event_callback_call(tp, EFL_UI_EVENT_ITEM_SELECTED, NULL);
sd->cur = index;
}