ecore-evas-extn - check engine info set return and complain

fix CID 1039682
This commit is contained in:
Carsten Haitzler 2014-08-27 14:32:03 +09:00
parent 3f97906d70
commit 8b654961f5
1 changed files with 2 additions and 1 deletions

View File

@ -1852,7 +1852,8 @@ _ecore_evas_extn_socket_alpha_set(Ecore_Evas *ee, int alpha)
einfo->info.depth_type = EVAS_ENGINE_BUFFER_DEPTH_ARGB32;
else
einfo->info.depth_type = EVAS_ENGINE_BUFFER_DEPTH_RGB32;
evas_engine_info_set(ee->evas, (Evas_Engine_Info *)einfo);
if (!evas_engine_info_set(ee->evas, (Evas_Engine_Info *)einfo))
ERR("Cannot set ecore_evas_ext alpha");
evas_damage_rectangle_add(ee->evas, 0, 0, ee->w, ee->h);
}
EINA_LIST_FOREACH(extn->ipc.clients, l, client)