Elementary Test Index: Cast list item to object item
authorbdilly <bdilly@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 5 Jan 2012 16:39:07 +0000 (16:39 +0000)
committerbdilly <bdilly@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 5 Jan 2012 16:39:07 +0000 (16:39 +0000)
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

index 8ffdebe..f8dcd3e 100644 (file)
@@ -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])