From c67464fb0c169b0b7dd5ec6adad6b504a2b8c23e Mon Sep 17 00:00:00 2001 From: Cedric BAIL Date: Mon, 23 Jan 2012 10:09:46 +0000 Subject: [PATCH] elementary: fix build of elementary genlist examples. SVN revision: 67462 --- src/examples/genlist_example_04.c | 2 +- src/examples/genlist_example_05.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/examples/genlist_example_04.c b/src/examples/genlist_example_04.c index 5985220..5132f71 100644 --- a/src/examples/genlist_example_04.c +++ b/src/examples/genlist_example_04.c @@ -136,7 +136,7 @@ _next_cb(void *data, Evas_Object *o __UNUSED__, void *event_info __UNUSED__) Evas_Object *list = data; Elm_Object_Item *glit = elm_genlist_selected_item_get(list); - if (glit) glit = elm_genlist_item_next_get(it); + if (glit) glit = elm_genlist_item_next_get(glit); if (!glit) glit = elm_genlist_first_item_get(list); elm_genlist_item_selected_set(glit, EINA_TRUE); diff --git a/src/examples/genlist_example_05.c b/src/examples/genlist_example_05.c index e15bf57..f5163b9 100644 --- a/src/examples/genlist_example_05.c +++ b/src/examples/genlist_example_05.c @@ -224,7 +224,7 @@ _del_item_cb(void *data, Evas_Object *o __UNUSED__, void *event_info __UNUSED__) if (!glit) return; Node_Data *pdata, *d = elm_genlist_item_data_get(glit); - glit_parent = elm_genlist_item_parent_get(glit_it); + glit_parent = elm_genlist_item_parent_get(glit); elm_genlist_item_subitems_clear(glit); elm_genlist_item_del(glit); -- 2.7.4