aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Dransfeld <sd@tango.flipp.net>2013-11-21 10:45:27 +0100
committerSebastian Dransfeld <sd@tango.flipp.net>2013-11-21 10:51:25 +0100
commit0223d0cee3b25d7756cb9f2fa0e03cfa8564180e (patch)
treef35c2ab8b03b2a030ed0d1c3a26c2844254c5f3d
parentevas: No error if blacklisted, just warn (diff)
downloadefl-0223d0cee3b25d7756cb9f2fa0e03cfa8564180e.tar.gz
ecore_evas: No error if window creation fails
It is common that some types of ee's will fail as the underlying system does not support it, just warn.
-rw-r--r--src/modules/ecore_evas/engines/x/ecore_evas_x.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/ecore_evas/engines/x/ecore_evas_x.c b/src/modules/ecore_evas/engines/x/ecore_evas_x.c
index f1e4c3f60c..2847e6c719 100644
--- a/src/modules/ecore_evas/engines/x/ecore_evas_x.c
+++ b/src/modules/ecore_evas/engines/x/ecore_evas_x.c
@@ -432,7 +432,7 @@ _ecore_evas_x_gl_window_new(Ecore_Evas *ee, Ecore_X_Window parent, int x, int y,
if (!evas_engine_info_set(ee->evas, (Evas_Engine_Info *)einfo))
{
- ERR("evas_engine_info_set() for engine '%s' failed.", ee->driver);
+ WRN("evas_engine_info_set() for engine '%s' failed.", ee->driver);
ecore_x_window_free(win);
return 0;
}
@@ -3594,7 +3594,7 @@ ecore_evas_software_x11_new_internal(const char *disp_name, Ecore_X_Window paren
einfo->info.debug = redraw_debug;
if (!evas_engine_info_set(ee->evas, (Evas_Engine_Info *)einfo))
{
- ERR("evas_engine_info_set() init engine '%s' failed.", ee->driver);
+ WRN("evas_engine_info_set() init engine '%s' failed.", ee->driver);
ecore_evas_free(ee);
return NULL;
}
@@ -3812,7 +3812,7 @@ ecore_evas_software_x11_pixmap_new_internal(const char *disp_name, Ecore_X_Windo
if (!evas_engine_info_set(ee->evas, (Evas_Engine_Info *)einfo))
{
- ERR("evas_engine_info_set() init engine '%s' failed.", ee->driver);
+ WRN("evas_engine_info_set() init engine '%s' failed.", ee->driver);
ecore_evas_free(ee);
return NULL;
}
@@ -4034,7 +4034,7 @@ ecore_evas_gl_x11_options_new_internal(const char *disp_name, Ecore_X_Window par
(ee, edata->win_root, x, y, w, h, 0, 0, opt);
if (!ee->prop.window)
{
- ERR("evas_engine_info_set() init engine '%s' failed.", ee->driver);
+ WRN("evas_engine_info_set() init engine '%s' failed.", ee->driver);
ecore_evas_free(ee);
return NULL;
}
@@ -4238,7 +4238,7 @@ ecore_evas_gl_x11_pixmap_new_internal(const char *disp_name, Ecore_X_Window pare
if (!evas_engine_info_set(ee->evas, (Evas_Engine_Info *)einfo))
{
- ERR("evas_engine_info_set() init engine '%s' failed.", ee->driver);
+ WRN("evas_engine_info_set() init engine '%s' failed.", ee->driver);
ecore_evas_free(ee);
return NULL;
}