elementary: fix massive breakage.
[framework/uifw/elementary.git] / src / examples / genlist_example_03.c
index fe31ade..0672563 100644 (file)
@@ -33,7 +33,7 @@ _item_label_get(void *data, Evas_Object *obj __UNUSED__, const char *part)
 }
 
 static Evas_Object *
-_item_icon_get(void *data __UNUSED__, Evas_Object *obj, const char *part)
+_item_content_get(void *data __UNUSED__, Evas_Object *obj, const char *part)
 {
    Evas_Object *ic = elm_icon_add(obj);
 
@@ -103,8 +103,8 @@ elm_main(int argc __UNUSED__, char **argv __UNUSED__)
    evas_object_show(box);
 
    _itc.item_style = "double_label";
-   _itc.func.label_get = _item_label_get;
-   _itc.func.icon_get = _item_icon_get;
+   _itc.func.text_get = _item_label_get;
+   _itc.func.content_get = _item_content_get;
    _itc.func.state_get = NULL;
    _itc.func.del = NULL;