ecore evas wayland: if(()) are used for assignments, add missing NULL fields

This commit is contained in:
Jérémy Zurcher 2013-05-15 16:42:31 +02:00
parent 20c0394ba2
commit ab505d5d23
2 changed files with 7 additions and 5 deletions

View File

@ -435,7 +435,7 @@ _ecore_evas_wl_alpha_set(Ecore_Evas *ee, int alpha)
LOGFN(__FILE__, __LINE__, __FUNCTION__);
if (!ee) return;
if ((ee->alpha == alpha)) return;
if (ee->alpha == alpha) return;
ee->alpha = alpha;
wdata = ee->engine.data;
@ -463,7 +463,7 @@ _ecore_evas_wl_transparent_set(Ecore_Evas *ee, int transparent)
LOGFN(__FILE__, __LINE__, __FUNCTION__);
if (!ee) return;
if ((ee->transparent == transparent)) return;
if (ee->transparent == transparent) return;
ee->transparent = transparent;
wdata = ee->engine.data;

View File

@ -76,7 +76,9 @@ static Ecore_Evas_Engine_Func _ecore_wl_engine_func =
NULL, // focus skip set
NULL, //_ecore_evas_wl_common_render,
_ecore_evas_wl_common_screen_geometry_get,
_ecore_evas_wl_common_screen_dpi_get
_ecore_evas_wl_common_screen_dpi_get,
NULL, // func msg parent send
NULL // func msg send
};
/* external variables */
@ -458,7 +460,7 @@ _ecore_evas_wayland_shm_alpha_do(Ecore_Evas *ee, int alpha)
LOGFN(__FILE__, __LINE__, __FUNCTION__);
if (!ee) return;
if ((ee->alpha == alpha)) return;
if (ee->alpha == alpha) return;
ee->alpha = alpha;
wdata = ee->engine.data;
@ -507,7 +509,7 @@ _ecore_evas_wayland_shm_transparent_do(Ecore_Evas *ee, int transparent)
LOGFN(__FILE__, __LINE__, __FUNCTION__);
if (!ee) return;
if ((ee->transparent == transparent)) return;
if (ee->transparent == transparent) return;
ee->transparent = transparent;
wdata = ee->engine.data;