devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=7b83985d7ea6e24141b6e6a1215da7f10a87fedf

commit 7b83985d7ea6e24141b6e6a1215da7f10a87fedf
Author: Chris Michael <[email protected]>
Date:   Mon Jan 13 07:52:24 2014 +0000

    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 <[email protected]>
---
 .../ecore_evas/engines/wayland/ecore_evas_wayland_common.c       | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c 
b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
index 738721a..647a5db 100644
--- a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
+++ b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
@@ -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);
 }
 

-- 


Reply via email to