summaryrefslogtreecommitdiff
path: root/legacy/ecore/src/lib/ecore_evas/ecore_evas_wince.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2009-06-17 11:42:02 +0000
committerCedric BAIL <cedric.bail@free.fr>2009-06-17 11:42:02 +0000
commiteb543607a3474b7722b76de304c4005c5868362a (patch)
treeb4577b38f7751cb3381bf9a0aa8e9528699d25f7 /legacy/ecore/src/lib/ecore_evas/ecore_evas_wince.c
parent79291ef06be46ba68ab86d4e1039836ada188626 (diff)
* ecore: Remove Ecore_List2 from ecore_evas.
SVN revision: 41073
Diffstat (limited to '')
-rw-r--r--legacy/ecore/src/lib/ecore_evas/ecore_evas_wince.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/legacy/ecore/src/lib/ecore_evas/ecore_evas_wince.c b/legacy/ecore/src/lib/ecore_evas/ecore_evas_wince.c
index 66d6a60039..da3b5c1e82 100644
--- a/legacy/ecore/src/lib/ecore_evas/ecore_evas_wince.c
+++ b/legacy/ecore/src/lib/ecore_evas/ecore_evas_wince.c
@@ -93,7 +93,7 @@ _ecore_evas_wince_render(Ecore_Evas *ee)
93static int 93static int
94_ecore_evas_wince_idle_enter(void *data __UNUSED__) 94_ecore_evas_wince_idle_enter(void *data __UNUSED__)
95{ 95{
96 Ecore_List2 *l; 96 Ecore_Evas *ee;
97 double t1 = 0.0; 97 double t1 = 0.0;
98 double t2 = 0.0; 98 double t2 = 0.0;
99 99
@@ -102,13 +102,9 @@ _ecore_evas_wince_idle_enter(void *data __UNUSED__)
102 { 102 {
103 t1 = ecore_time_get(); 103 t1 = ecore_time_get();
104 } 104 }
105 for (l = (Ecore_List2 *)ecore_evases; l; l = l->next) 105 EINA_INLIST_FOREACH(ecore_evases, l)
106 {
107 Ecore_Evas *ee;
108
109 ee = (Ecore_Evas *)l;
110 _ecore_evas_wince_render(ee); 106 _ecore_evas_wince_render(ee);
111 } 107
112 if (_ecore_evas_fps_debug) 108 if (_ecore_evas_fps_debug)
113 { 109 {
114 t2 = ecore_time_get(); 110 t2 = ecore_time_get();
@@ -342,7 +338,7 @@ _ecore_evas_wince_free(Ecore_Evas *ee)
342 338
343 ecore_wince_window_free((Ecore_WinCE_Window *)ee->prop.window); 339 ecore_wince_window_free((Ecore_WinCE_Window *)ee->prop.window);
344 ecore_event_window_unregister(ee->prop.window); 340 ecore_event_window_unregister(ee->prop.window);
345 ecore_evases = _ecore_list2_remove(ecore_evases, ee); 341 ecore_evases = (Ecore_Evas *) eina_inlist_remove(EINA_INLIST_GET(ecore_evases), EINA_INLIST_GET(ee));
346 _ecore_evas_wince_shutdown(); 342 _ecore_evas_wince_shutdown();
347 ecore_wince_shutdown(); 343 ecore_wince_shutdown();
348} 344}
@@ -853,7 +849,7 @@ ecore_evas_software_wince_new_internal(int backend,
853 ecore_wince_window_resume_set((Ecore_WinCE_Window *)ee->prop.window, einfo->func.resume); 849 ecore_wince_window_resume_set((Ecore_WinCE_Window *)ee->prop.window, einfo->func.resume);
854 } 850 }
855 851
856 ecore_evases = _ecore_list2_prepend(ecore_evases, ee); 852 ecore_evases = (Ecore_Evas *) eina_inlist_prepend(EINA_INLIST_GET(ecore_evases), EINA_INLIST_GET(ee));
857 ecore_event_window_register(ee->prop.window, ee, ee->evas, (Ecore_Event_Mouse_Move_Cb)_ecore_evas_mouse_move_process); 853 ecore_event_window_register(ee->prop.window, ee, ee->evas, (Ecore_Event_Mouse_Move_Cb)_ecore_evas_mouse_move_process);
858 854
859 return ee; 855 return ee;