elm genlist_example_04.c: Use proper group item style, content get, and label get callbacks.

SVN revision: 69677
This commit is contained in:
Daniel Juyung Seo 2012-03-28 00:51:53 +00:00
parent a21205642b
commit a1888419bd
1 changed files with 3 additions and 3 deletions

View File

@ -276,9 +276,9 @@ elm_main(int argc __UNUSED__, char **argv __UNUSED__)
if (!_itc_group)
{
_itc_group = elm_genlist_item_class_new();
_itc_group->item_style = "default";
_itc_group->func.text_get = _item_label_get;
_itc_group->func.content_get = _item_content_get;
_itc_group->item_style = "group_index";
_itc_group->func.text_get = _group_label_get;
_itc_group->func.content_get = _group_content_get;
_itc_group->func.state_get = NULL;
_itc_group->func.del = NULL;
}