summaryrefslogtreecommitdiff
path: root/src/examples/genlist_example_03.c
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2011-10-24 02:10:35 +0000
committerDaniel Juyung Seo <seojuyung2@gmail.com>2011-10-24 02:10:35 +0000
commitcbb9392451baefc56fa5967211029f4efd7ac058 (patch)
tree874b0d063520b311af74ae97eb4ad3bd6d69a481 /src/examples/genlist_example_03.c
parent1ee37bebb2de26efd2ba7f9f06d112dde062cf64 (diff)
elm gen/gengrid/genlist: Changed item class's icon_get to content_get.
Do not limit the swallowed objects to icon. This had to be done before elm 1.0 and now it's time to break. This will break all applications which are using gengrid/genlist. Please fix it icon_get -> content_get. TODO 1. fix theme as well. 2. fix documents. SVN revision: 64344
Diffstat (limited to 'src/examples/genlist_example_03.c')
-rw-r--r--src/examples/genlist_example_03.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/examples/genlist_example_03.c b/src/examples/genlist_example_03.c
index fe31ade32..712f77876 100644
--- a/src/examples/genlist_example_03.c
+++ b/src/examples/genlist_example_03.c
@@ -33,7 +33,7 @@ _item_label_get(void *data, Evas_Object *obj __UNUSED__, const char *part)
33} 33}
34 34
35static Evas_Object * 35static Evas_Object *
36_item_icon_get(void *data __UNUSED__, Evas_Object *obj, const char *part) 36_item_content_get(void *data __UNUSED__, Evas_Object *obj, const char *part)
37{ 37{
38 Evas_Object *ic = elm_icon_add(obj); 38 Evas_Object *ic = elm_icon_add(obj);
39 39
@@ -104,7 +104,7 @@ elm_main(int argc __UNUSED__, char **argv __UNUSED__)
104 104
105 _itc.item_style = "double_label"; 105 _itc.item_style = "double_label";
106 _itc.func.label_get = _item_label_get; 106 _itc.func.label_get = _item_label_get;
107 _itc.func.icon_get = _item_icon_get; 107 _itc.func.content_get = _item_icon_get;
108 _itc.func.state_get = NULL; 108 _itc.func.state_get = NULL;
109 _itc.func.del = NULL; 109 _itc.func.del = NULL;
110 110