efl_ui_win: apply new event calling convention

Summary:
ref T7758
Depends on D8405

Reviewers: cedric, zmike, segfaultxavi

Reviewed By: zmike

Subscribers: #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7758

Differential Revision: https://phab.enlightenment.org/D8406
This commit is contained in:
Marcel Hollerbach 2019-03-19 16:31:39 -04:00 committed by Mike Blumenkrantz
parent e4e14f50db
commit f5fb68e1cd
1 changed files with 3 additions and 3 deletions

View File

@ -1645,7 +1645,7 @@ _win_rotate(Evas_Object *obj, Efl_Ui_Win_Data *sd, int rotation, Eina_Bool resiz
#endif
_elm_win_frame_obj_update(sd, 0);
efl_event_callback_call
(obj, EFL_UI_WIN_EVENT_WIN_ROTATION_CHANGED, (void*)(uintptr_t)rotation);
(obj, EFL_UI_WIN_EVENT_WIN_ROTATION_CHANGED, &rotation);
evas_object_smart_callback_call(obj, "rotation,changed", NULL);
if (_elm_config->atspi_mode)
{
@ -1809,7 +1809,7 @@ _elm_win_state_change(Ecore_Evas *ee)
{
evas_object_smart_callback_call(obj, "unfullscreen", NULL);
}
efl_event_callback_call(obj, EFL_UI_WIN_EVENT_FULLSCREEN_CHANGED, (void*) (uintptr_t)fullscreen);
efl_event_callback_call(obj, EFL_UI_WIN_EVENT_FULLSCREEN_CHANGED, &fullscreen);
}
if (ch_maximized)
{
@ -1829,7 +1829,7 @@ _elm_win_state_change(Ecore_Evas *ee)
if (_elm_config->atspi_mode)
efl_access_window_restored_signal_emit(obj);
}
efl_event_callback_call(obj, EFL_UI_WIN_EVENT_MAXIMIZED_CHANGED, (void*) (uintptr_t)maximized);
efl_event_callback_call(obj, EFL_UI_WIN_EVENT_MAXIMIZED_CHANGED, &maximized);
}
if (ch_profile)
{