summaryrefslogtreecommitdiff
path: root/legacy/elementary
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2012-03-28 00:51:53 +0000
committerDaniel Juyung Seo <seojuyung2@gmail.com>2012-03-28 00:51:53 +0000
commita1888419bde855c779f8c2ab44c1531175bdd4e4 (patch)
tree99eef99ab9ec2a9ea3804e65ef0c8b6ec19a3848 /legacy/elementary
parenta21205642be6cc5a989caa4b3f773550320502eb (diff)
elm genlist_example_04.c: Use proper group item style, content get, and label get callbacks.
SVN revision: 69677
Diffstat (limited to 'legacy/elementary')
-rw-r--r--legacy/elementary/src/examples/genlist_example_04.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/legacy/elementary/src/examples/genlist_example_04.c b/legacy/elementary/src/examples/genlist_example_04.c
index 4f3a362409..0c40330ac5 100644
--- a/legacy/elementary/src/examples/genlist_example_04.c
+++ b/legacy/elementary/src/examples/genlist_example_04.c
@@ -276,9 +276,9 @@ elm_main(int argc __UNUSED__, char **argv __UNUSED__)
276 if (!_itc_group) 276 if (!_itc_group)
277 { 277 {
278 _itc_group = elm_genlist_item_class_new(); 278 _itc_group = elm_genlist_item_class_new();
279 _itc_group->item_style = "default"; 279 _itc_group->item_style = "group_index";
280 _itc_group->func.text_get = _item_label_get; 280 _itc_group->func.text_get = _group_label_get;
281 _itc_group->func.content_get = _item_content_get; 281 _itc_group->func.content_get = _group_content_get;
282 _itc_group->func.state_get = NULL; 282 _itc_group->func.state_get = NULL;
283 _itc_group->func.del = NULL; 283 _itc_group->func.del = NULL;
284 } 284 }