efl_ui_tags: apply new event calling convention

Summary:
it appears that this event calling is a bit fishy, the value of the
second callback call was never set, i think the shrink flag here is what
we want to return here.

T7758
Depends on D8406

Reviewers: cedric, zmike, segfaultxavi

Reviewed By: zmike

Subscribers: #reviewers, #committers

Tags: #efl

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

View File

@ -144,7 +144,7 @@ _shrink_mode_set(Eo *obj,
{
sd->view_state = TAGS_VIEW_SHRINK;
efl_event_callback_call
(obj, EFL_UI_TAGS_EVENT_EXPAND_STATE_CHANGED, (void *)1);
(obj, EFL_UI_TAGS_EVENT_EXPAND_STATE_CHANGED, &shrink);
}
eina_value_flush(&val);
@ -175,7 +175,7 @@ _shrink_mode_set(Eo *obj,
{
sd->view_state = TAGS_VIEW_NONE;
efl_event_callback_call
(obj, EFL_UI_TAGS_EVENT_EXPAND_STATE_CHANGED, (void *)(uintptr_t)sd->shrink);
(obj, EFL_UI_TAGS_EVENT_EXPAND_STATE_CHANGED, &shrink);
}
}