Fix elm_naviframe transition,finished smart events event_info

Summary:
A pointer to the internal Elm_Naviframe_Item_Data was mistakenly being passed as
event_info.

This patch changes the callback_call to pass the correct Elm_Object_Item (Eo) pointer.

Reviewers: #elementary, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D2222
This commit is contained in:
Kai Huuhko 2015-03-28 15:12:33 +09:00 committed by ChunEon Park
parent 93a4b8b4e3
commit ff3ac49cf3
1 changed files with 1 additions and 1 deletions

View File

@ -1122,7 +1122,7 @@ _on_item_show_finished(void *data,
if (sd->freeze_events)
evas_object_freeze_events_set(VIEW(it), EINA_FALSE);
evas_object_smart_callback_call(WIDGET(it), SIG_TRANSITION_FINISHED, data);
evas_object_smart_callback_call(WIDGET(it), SIG_TRANSITION_FINISHED, EO_OBJ(it));
}
static void