From ca6cf069a3146f968b47eeb72628de3257971f5d Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Thu, 3 Mar 2016 13:44:07 +0000 Subject: [PATCH] Genlist test: Adjust according to the recent eo event changes. Thanks to zmike for letting me know. --- legacy/elementary/src/tests/elm_test_genlist.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/legacy/elementary/src/tests/elm_test_genlist.c b/legacy/elementary/src/tests/elm_test_genlist.c index 5d23930..614fda9 100644 --- a/legacy/elementary/src/tests/elm_test_genlist.c +++ b/legacy/elementary/src/tests/elm_test_genlist.c @@ -81,14 +81,13 @@ START_TEST(elm_atspi_children_get2) END_TEST static Eina_Bool -_children_changed_cb(void *data EINA_UNUSED, Eo *obj EINA_UNUSED, - const Eo_Event_Description *desc, void *event_info EINA_UNUSED) +_children_changed_cb(void *data EINA_UNUSED, const Eo_Event *event) { - if (desc != ELM_INTERFACE_ATSPI_ACCESSIBLE_EVENT_CHILDREN_CHANGED) + if (event->desc != ELM_INTERFACE_ATSPI_ACCESSIBLE_EVENT_CHILDREN_CHANGED) return EINA_TRUE; - ev_data = *(Elm_Atspi_Event_Children_Changed_Data*)event_info; - current = obj; + ev_data = *(Elm_Atspi_Event_Children_Changed_Data*)event->event_info; + current = event->obj; counter++; return EINA_TRUE; -- 2.7.4