Unbreak ecore_evas wayland engines:

Val variable is not declared here. Use the variable 'on' which was
passed in to this function.

Signed-off-by: Chris Michael <devilhorns@comcast.net>
This commit is contained in:
Chris Michael 2014-01-13 07:52:24 +00:00
parent fb59ac34a1
commit 7b83985d7e
1 changed files with 4 additions and 5 deletions

View File

@ -1484,16 +1484,15 @@ _ecore_evas_wl_common_withdrawn_set(Ecore_Evas *ee, Eina_Bool on)
{
LOGFN(__FILE__, __LINE__, __FUNCTION__);
val = !!val;
if (ee->prop.withdrawn == on)
return;
if (ee->prop.withdrawn == on) return;
ee->prop.withdrawn = on;
if (val)
if (on)
ecore_evas_hide(ee);
else
ecore_evas_show(ee);
_ecore_evas_wl_common_state_update(ee);
}