summaryrefslogtreecommitdiff
path: root/src/examples/elementary/efl_ui_list_example_1.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/examples/elementary/efl_ui_list_example_1.c')
-rw-r--r--src/examples/elementary/efl_ui_list_example_1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/examples/elementary/efl_ui_list_example_1.c b/src/examples/elementary/efl_ui_list_example_1.c
index ac4976a3c1..edf6d5dd4b 100644
--- a/src/examples/elementary/efl_ui_list_example_1.c
+++ b/src/examples/elementary/efl_ui_list_example_1.c
@@ -37,7 +37,7 @@ _list_selected(void *data EINA_UNUSED, const Efl_Event *ev)
37 Eo *item = ev->info, *tmp; 37 Eo *item = ev->info, *tmp;
38 printf("list item [%p:%d] is %s\n", item, efl_ui_item_index_get(item), (efl_ui_selectable_selected_get(item)? "selected" : "unselected")); 38 printf("list item [%p:%d] is %s\n", item, efl_ui_item_index_get(item), (efl_ui_selectable_selected_get(item)? "selected" : "unselected"));
39 39
40 Eina_Iterator *selects = efl_ui_selectable_selected_iterator_new(list); 40 Eina_Iterator *selects = efl_ui_multi_selectable_selected_iterator_new(list);
41 41
42 EINA_ITERATOR_FOREACH(selects, tmp) 42 EINA_ITERATOR_FOREACH(selects, tmp)
43 printf("selected [%p:%d] ", tmp, efl_ui_item_index_get(tmp)); 43 printf("selected [%p:%d] ", tmp, efl_ui_item_index_get(tmp));
@@ -77,7 +77,7 @@ static void
77_select_radio_changed(void *data, const Efl_Event *ev) 77_select_radio_changed(void *data, const Efl_Event *ev)
78{ 78{
79 Eo *list = data; 79 Eo *list = data;
80 efl_ui_selectable_select_mode_set(list, efl_ui_radio_group_selected_value_get(ev->object)); 80 efl_ui_multi_selectable_select_mode_set(list, efl_ui_radio_group_selected_value_get(ev->object));
81} 81}
82 82
83static void 83static void