summaryrefslogtreecommitdiff
path: root/src/examples/gengrid_example.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/gengrid_example.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/gengrid_example.c')
-rw-r--r--src/examples/gengrid_example.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/examples/gengrid_example.c b/src/examples/gengrid_example.c
index c68e5e52f..1b2e72005 100644
--- a/src/examples/gengrid_example.c
+++ b/src/examples/gengrid_example.c
@@ -313,7 +313,7 @@ _grid_label_get(void *data,
313 313
314/* icon fetching callback */ 314/* icon fetching callback */
315static Evas_Object * 315static Evas_Object *
316_grid_icon_get(void *data, 316_grid_content_get(void *data,
317 Evas_Object *obj, 317 Evas_Object *obj,
318 const char *part) 318 const char *part)
319{ 319{
@@ -606,7 +606,7 @@ elm_main(int argc __UNUSED__,
606 606
607 gic.item_style = "default"; 607 gic.item_style = "default";
608 gic.func.label_get = _grid_label_get; 608 gic.func.label_get = _grid_label_get;
609 gic.func.icon_get = _grid_icon_get; 609 gic.func.content_get = _grid_icon_get;
610 gic.func.state_get = _grid_state_get; 610 gic.func.state_get = _grid_state_get;
611 gic.func.del = _grid_del; 611 gic.func.del = _grid_del;
612 612