[multibuttonentry][index] Modified TC
[framework/uifw/elementary.git] / TC / elm_ts / index / utc_UIFW_elm_index_item_append_relative_func.c
index fd8f626..db3bd69 100644 (file)
@@ -68,7 +68,7 @@ static void cleanup(void)
        tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
 }
 
-char *gli_label_get(const void *data, Evas_Object *obj, const char *part)
+char *gli_label_get(void *data, Evas_Object *obj, const char *part)
 {
    char buf[256];
    int j = (int)data;
@@ -84,9 +84,9 @@ char *gli_label_get(const void *data, Evas_Object *obj, const char *part)
 static void utc_UIFW_elm_index_item_append_relative_func_01(void)
 {
        Evas_Object *idx = NULL;
-       Elm_Genlist_Item *it = NULL, *it_gl=NULL;
+       Elm_Object_Item *it = NULL, *it_gl=NULL;
        Evas_Object *gl = NULL;
-       Elm_Index_Item *it_idx = NULL;
+       Elm_Object_Item *it_idx = NULL;
        int i = 0, j = 0;
        const char  *letter = NULL;
        gl = elm_genlist_add(main_win);
@@ -94,8 +94,8 @@ static void utc_UIFW_elm_index_item_append_relative_func_01(void)
        evas_object_show(gl);
        evas_object_show(idx);
        itci.item_style     = "default";
-       itci.func.label_get = gli_label_get;
-       itci.func.icon_get  = NULL;
+        itci.func.text_get = gli_label_get;
+        itci.func.content_get  = NULL;
        itci.func.state_get = NULL;
        itci.func.del       = NULL;
        for (i = 0; i <=40; i++) {
@@ -130,17 +130,17 @@ static void utc_UIFW_elm_index_item_append_relative_func_01(void)
 static void utc_UIFW_elm_index_item_append_relative_func_02(void)
 {
        Evas_Object *idx = NULL;
-       Elm_Genlist_Item *it = NULL, *it_gl=NULL;
+       Elm_Object_Item *it = NULL, *it_gl=NULL;
        Evas_Object *gl = NULL;
-       Elm_Index_Item *it_idx = NULL;
+       Elm_Object_Item *it_idx = NULL;
        int i = 0, j = 0;
        gl = elm_genlist_add(main_win);
        idx= elm_index_add(main_win);
        evas_object_show(gl);
        evas_object_show(idx);
     itci.item_style     = "default";
-    itci.func.label_get = gli_label_get;
-    itci.func.icon_get  = NULL;
+    itci.func.text_get = gli_label_get;
+    itci.func.content_get  = NULL;
     itci.func.state_get = NULL;
     itci.func.del       = NULL;
     for (i = 0; i <=40; i++) {