summaryrefslogtreecommitdiff
path: root/legacy/ecore/src/lib/ecore_evas/ecore_evas_wince.c
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2010-09-29 16:45:49 +0000
committerVincent Torri <vincent.torri@gmail.com>2010-09-29 16:45:49 +0000
commit62bcf9643e1919d579fa0947863149837d174e67 (patch)
treebd0835c79d08df71d6f55f176ba94f86032ddcd0 /legacy/ecore/src/lib/ecore_evas/ecore_evas_wince.c
parentc0593c571a507935875e75e498ad3d6e19c4d587 (diff)
check the returned value of evas_engine_info_set()
SVN revision: 52894
Diffstat (limited to '')
-rw-r--r--legacy/ecore/src/lib/ecore_evas/ecore_evas_wince.c10
1 files changed, 8 insertions, 2 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 1c3cbb4dcb..b41c2f45aa 100644
--- a/legacy/ecore/src/lib/ecore_evas/ecore_evas_wince.c
+++ b/legacy/ecore/src/lib/ecore_evas/ecore_evas_wince.c
@@ -665,7 +665,10 @@ _ecore_evas_wince_fullscreen_set(Ecore_Evas *ee, int on)
665 { 665 {
666 einfo->info.fullscreen = !!on; 666 einfo->info.fullscreen = !!on;
667/* einfo->info.layered = window->shape.layered; */ 667/* einfo->info.layered = window->shape.layered; */
668 evas_engine_info_set(ecore_evas_get(ee), (Evas_Engine_Info *)einfo); 668 if (!evas_engine_info_set(ee->evas, (Evas_Engine_Info *)einfo))
669 {
670 ERR("evas_engine_info_set() for engine '%s' failed.", ee->driver);
671 }
669 } 672 }
670} 673}
671 674
@@ -805,7 +808,10 @@ ecore_evas_software_wince_new_internal(int backend,
805 einfo->info.backend = backend; 808 einfo->info.backend = backend;
806 einfo->info.rotation = 0; 809 einfo->info.rotation = 0;
807 einfo->info.fullscreen = fullscreen; 810 einfo->info.fullscreen = fullscreen;
808 evas_engine_info_set(ee->evas, (Evas_Engine_Info *)einfo); 811 if (!evas_engine_info_set(ee->evas, (Evas_Engine_Info *)einfo))
812 {
813 ERR("evas_engine_info_set() for engine '%s' failed.", ee->driver);
814 }
809 815
810 ecore_wince_window_backend_set((Ecore_WinCE_Window *)ee->prop.window, backend); 816 ecore_wince_window_backend_set((Ecore_WinCE_Window *)ee->prop.window, backend);
811 ecore_wince_window_suspend_set((Ecore_WinCE_Window *)ee->prop.window, einfo->func.suspend); 817 ecore_wince_window_suspend_set((Ecore_WinCE_Window *)ee->prop.window, einfo->func.suspend);