summaryrefslogtreecommitdiff
path: root/src/benchmarks
diff options
context:
space:
mode:
Diffstat (limited to 'src/benchmarks')
-rw-r--r--src/benchmarks/elementary/item_container.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/benchmarks/elementary/item_container.c b/src/benchmarks/elementary/item_container.c
index 5419756e09..982df1df81 100644
--- a/src/benchmarks/elementary/item_container.c
+++ b/src/benchmarks/elementary/item_container.c
@@ -10,11 +10,11 @@ _timer_tick(void *data, const Efl_Event *ev)
10{ 10{
11 if (timer % 2 == 0) 11 if (timer % 2 == 0)
12 { 12 {
13 efl_ui_item_container_item_scroll(data, last, EINA_TRUE); 13 efl_ui_collection_item_scroll(data, last, EINA_TRUE);
14 } 14 }
15 else 15 else
16 { 16 {
17 efl_ui_item_container_item_scroll(data, first, EINA_TRUE); 17 efl_ui_collection_item_scroll(data, first, EINA_TRUE);
18 } 18 }
19 19
20 timer--; 20 timer--;
@@ -51,7 +51,7 @@ _started_cb(void *data, const Efl_Event *ev EINA_UNUSED)
51static void 51static void
52_first_frame_cb(void *data, const Efl_Event *ev EINA_UNUSED) 52_first_frame_cb(void *data, const Efl_Event *ev EINA_UNUSED)
53{ 53{
54 efl_ui_item_container_item_scroll(data, middle, EINA_FALSE); 54 efl_ui_collection_item_scroll(data, middle, EINA_FALSE);
55 //give time to stabelize 55 //give time to stabelize
56 efl_add(EFL_LOOP_TIMER_CLASS, efl_main_loop_get(), 56 efl_add(EFL_LOOP_TIMER_CLASS, efl_main_loop_get(),
57 efl_loop_timer_interval_set(efl_added, 15.0), 57 efl_loop_timer_interval_set(efl_added, 15.0),
@@ -72,8 +72,8 @@ efl_main(void *data EINA_UNUSED, const Efl_Event *ev EINA_UNUSED)
72 ); 72 );
73 73
74 list = efl_new(EFL_UI_POSITION_MANAGER_LIST_CLASS); 74 list = efl_new(EFL_UI_POSITION_MANAGER_LIST_CLASS);
75 item_container = efl_add(EFL_UI_ITEM_CONTAINER_CLASS, win, 75 item_container = efl_add(EFL_UI_COLLECTION_CLASS, win,
76 efl_ui_item_container_position_manager_set(efl_added, list)); 76 efl_ui_collection_position_manager_set(efl_added, list));
77 efl_content_set(win, item_container); 77 efl_content_set(win, item_container);
78 78
79 printf("Building 5000 objects\n"); 79 printf("Building 5000 objects\n");