diff options
author | Marcel Hollerbach <mail@marcel-hollerbach.de> | 2019-03-20 08:36:21 +0100 |
---|---|---|
committer | Marcel Hollerbach <mail@marcel-hollerbach.de> | 2019-03-20 18:50:48 +0100 |
commit | c081825bc8e5903e213480f9d0af32322555b3a3 (patch) | |
tree | 022c30936d4027549ba8015797a1149d8abf85e3 | |
parent | 43a1d79ba8b67c56a84c7e3a970311e88bfaade4 (diff) | |
download | efl-c081825bc8e5903e213480f9d0af32322555b3a3.tar.gz |
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
-rw-r--r-- | src/lib/elementary/efl_ui_tab_bar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elementary/efl_ui_tab_bar.c b/src/lib/elementary/efl_ui_tab_bar.c index 6aebe06525..b8c1dfc6f8 100644 --- a/src/lib/elementary/efl_ui_tab_bar.c +++ b/src/lib/elementary/efl_ui_tab_bar.c @@ -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; } |