forked from enlightenment/efl
ecore evas wayland: if(()) are used for assignments, add missing NULL fields
This commit is contained in:
parent
20c0394ba2
commit
ab505d5d23
|
@ -435,7 +435,7 @@ _ecore_evas_wl_alpha_set(Ecore_Evas *ee, int alpha)
|
||||||
LOGFN(__FILE__, __LINE__, __FUNCTION__);
|
LOGFN(__FILE__, __LINE__, __FUNCTION__);
|
||||||
|
|
||||||
if (!ee) return;
|
if (!ee) return;
|
||||||
if ((ee->alpha == alpha)) return;
|
if (ee->alpha == alpha) return;
|
||||||
ee->alpha = alpha;
|
ee->alpha = alpha;
|
||||||
|
|
||||||
wdata = ee->engine.data;
|
wdata = ee->engine.data;
|
||||||
|
@ -463,7 +463,7 @@ _ecore_evas_wl_transparent_set(Ecore_Evas *ee, int transparent)
|
||||||
LOGFN(__FILE__, __LINE__, __FUNCTION__);
|
LOGFN(__FILE__, __LINE__, __FUNCTION__);
|
||||||
|
|
||||||
if (!ee) return;
|
if (!ee) return;
|
||||||
if ((ee->transparent == transparent)) return;
|
if (ee->transparent == transparent) return;
|
||||||
ee->transparent = transparent;
|
ee->transparent = transparent;
|
||||||
|
|
||||||
wdata = ee->engine.data;
|
wdata = ee->engine.data;
|
||||||
|
|
|
@ -76,7 +76,9 @@ static Ecore_Evas_Engine_Func _ecore_wl_engine_func =
|
||||||
NULL, // focus skip set
|
NULL, // focus skip set
|
||||||
NULL, //_ecore_evas_wl_common_render,
|
NULL, //_ecore_evas_wl_common_render,
|
||||||
_ecore_evas_wl_common_screen_geometry_get,
|
_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 */
|
/* external variables */
|
||||||
|
@ -458,7 +460,7 @@ _ecore_evas_wayland_shm_alpha_do(Ecore_Evas *ee, int alpha)
|
||||||
LOGFN(__FILE__, __LINE__, __FUNCTION__);
|
LOGFN(__FILE__, __LINE__, __FUNCTION__);
|
||||||
|
|
||||||
if (!ee) return;
|
if (!ee) return;
|
||||||
if ((ee->alpha == alpha)) return;
|
if (ee->alpha == alpha) return;
|
||||||
ee->alpha = alpha;
|
ee->alpha = alpha;
|
||||||
wdata = ee->engine.data;
|
wdata = ee->engine.data;
|
||||||
|
|
||||||
|
@ -507,7 +509,7 @@ _ecore_evas_wayland_shm_transparent_do(Ecore_Evas *ee, int transparent)
|
||||||
LOGFN(__FILE__, __LINE__, __FUNCTION__);
|
LOGFN(__FILE__, __LINE__, __FUNCTION__);
|
||||||
|
|
||||||
if (!ee) return;
|
if (!ee) return;
|
||||||
if ((ee->transparent == transparent)) return;
|
if (ee->transparent == transparent) return;
|
||||||
ee->transparent = transparent;
|
ee->transparent = transparent;
|
||||||
|
|
||||||
wdata = ee->engine.data;
|
wdata = ee->engine.data;
|
||||||
|
|
Loading…
Reference in New Issue