aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/elementary/src/bin/test_gengrid.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
commit2bb2b1f0ee2e98dff6e644f80d70118596bdbb94 (patch)
tree2d24e8746a83691b5e68f18e839aea599094fc95 /legacy/elementary/src/bin/test_gengrid.c
parentelm: Updated po. (diff)
downloadefl-2bb2b1f0ee2e98dff6e644f80d70118596bdbb94.tar.gz
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 'legacy/elementary/src/bin/test_gengrid.c')
-rw-r--r--legacy/elementary/src/bin/test_gengrid.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/legacy/elementary/src/bin/test_gengrid.c b/legacy/elementary/src/bin/test_gengrid.c
index a3705a1c1f..4af9d283c5 100644
--- a/legacy/elementary/src/bin/test_gengrid.c
+++ b/legacy/elementary/src/bin/test_gengrid.c
@@ -105,7 +105,7 @@ grid_label_get(void *data, Evas_Object *obj __UNUSED__, const char *part __UNUSE
}
Evas_Object *
-grid_icon_get(void *data, Evas_Object *obj, const char *part)
+grid_content_get(void *data, Evas_Object *obj, const char *part)
{
const Testitem *ti = data;
if (!strcmp(part, "elm.swallow.icon"))
@@ -182,7 +182,7 @@ test_gengrid(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_inf
gic.item_style = "default";
gic.func.label_get = grid_label_get;
- gic.func.icon_get = grid_icon_get;
+ gic.func.content_get = grid_content_get;
gic.func.state_get = grid_state_get;
gic.func.del = grid_del;
@@ -374,7 +374,7 @@ test_gengrid2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in
gic.item_style = "default";
gic.func.label_get = grid_label_get;
- gic.func.icon_get = grid_icon_get;
+ gic.func.content_get = grid_content_get;
gic.func.state_get = grid_state_get;
gic.func.del = grid_del;
@@ -419,13 +419,13 @@ test_gengrid3(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in
gic.item_style = "default";
gic.func.label_get = grid_label_get;
- gic.func.icon_get = grid_icon_get;
+ gic.func.content_get = grid_content_get;
gic.func.state_get = grid_state_get;
gic.func.del = grid_del;
ggic.item_style = "group_index";
ggic.func.label_get = grid_label_get;
- ggic.func.icon_get = NULL;
+ ggic.func.content_get = NULL;
ggic.func.state_get = NULL;
ggic.func.del = NULL;