From 7db65e0621f6fb22e6cb093c913a42d5e0e2e91f Mon Sep 17 00:00:00 2001 From: bdilly Date: Thu, 5 Jan 2012 16:39:07 +0000 Subject: [PATCH] Elementary Test Index: Cast list item to object item Cast them when using elm_object_item functions. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@66904 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/bin/test_index.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/test_index.c b/src/bin/test_index.c index 8ffdebe..f8dcd3e 100644 --- a/src/bin/test_index.c +++ b/src/bin/test_index.c @@ -173,8 +173,8 @@ test_index2_it_del(void *data, Evas_Object *obj, void *event_info __UNUSED__) return; } - label = elm_object_item_text_get(it); - label_next = elm_object_item_text_get(it_next); + label = elm_object_item_text_get((Elm_Object_Item *)it); + label_next = elm_object_item_text_get((Elm_Object_Item *)it_next); iit = elm_index_item_find(gui->id, it); if (label[0] == label_next[0]) -- 2.7.4