summaryrefslogtreecommitdiff
path: root/src/examples/elementary
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/elementary
parent10cdb070180e0f1e62d5b8e5d5164a19fbc51548 (diff)
downloadefl-7884a38dbd46baf4d9636663269bcbb53f6c0b97.tar.gz
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/elementary')
-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)
Eo *item = ev->info, *tmp;
printf("list item [%p:%d] is %s\n", item, efl_ui_item_index_get(item), (efl_ui_selectable_selected_get(item)? "selected" : "unselected"));
- Eina_Iterator *selects = efl_ui_selected_items_get(list);
+ Eina_Iterator *selects = efl_ui_selected_iterator_new(list);
EINA_ITERATOR_FOREACH(selects, tmp)
printf("selected [%p:%d] ", tmp, efl_ui_item_index_get(tmp));