summaryrefslogtreecommitdiff
path: root/src/examples
diff options
context:
space:
mode:
authorSangHyeon Jade Lee <sh10233.lee@samsung.com>2019-09-25 10:57:03 +0000
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-09-25 21:14:22 +0200
commit7884a38dbd46baf4d9636663269bcbb53f6c0b97 (patch)
treef53f3eac7ebede1434986c441ff95d9d500a22a0 /src/examples
parent10cdb070180e0f1e62d5b8e5d5164a19fbc51548 (diff)
efl_ui : change selected_items_get to selected_iterator_new.
multi_selectable_aync already changed name as selected_iterator_new so multi_selectable change name also for unity of API. not sure about we need unselected_items_get in multi_selectable, so skip to create new api for this time. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D10148
Diffstat (limited to 'src/examples')
-rw-r--r--src/examples/elementary/efl_ui_list_example_1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/examples/elementary/efl_ui_list_example_1.c b/src/examples/elementary/efl_ui_list_example_1.c
index cbd05d23d1..dab45ae261 100644
--- a/src/examples/elementary/efl_ui_list_example_1.c
+++ b/src/examples/elementary/efl_ui_list_example_1.c
@@ -30,7 +30,7 @@ _list_selected(void *data EINA_UNUSED, const Efl_Event *ev)
30 Eo *item = ev->info, *tmp; 30 Eo *item = ev->info, *tmp;
31 printf("list item [%p:%d] is %s\n", item, efl_ui_item_index_get(item), (efl_ui_selectable_selected_get(item)? "selected" : "unselected")); 31 printf("list item [%p:%d] is %s\n", item, efl_ui_item_index_get(item), (efl_ui_selectable_selected_get(item)? "selected" : "unselected"));
32 32
33 Eina_Iterator *selects = efl_ui_selected_items_get(list); 33 Eina_Iterator *selects = efl_ui_selected_iterator_new(list);
34 34
35 EINA_ITERATOR_FOREACH(selects, tmp) 35 EINA_ITERATOR_FOREACH(selects, tmp)
36 printf("selected [%p:%d] ", tmp, efl_ui_item_index_get(tmp)); 36 printf("selected [%p:%d] ", tmp, efl_ui_item_index_get(tmp));