devilhorns pushed a commit to branch master.

commit d3c79b813e87415c27552d77b102ad9e401493a7
Author: Chris Michael <[email protected]>
Date:   Mon Apr 29 12:56:08 2013 +0100

    Fix engine_info_get function call being in the wrong place.
    
    Signed-off-by: Chris Michael <[email protected]>
---
 src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_shm.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_shm.c 
b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_shm.c
index 96a4f74..1764ba1 100644
--- a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_shm.c
+++ b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_shm.c
@@ -531,13 +531,13 @@ _ecore_evas_wayland_shm_resize(Ecore_Evas *ee, int 
location)
         else
           evas_output_framespace_get(ee->evas, NULL, NULL, &fw, &fh);
 
-        if ((einfo = (Evas_Engine_Info_Wayland_Shm 
*)evas_engine_info_get(ee->evas)))
         if ((ee->rotation == 90) || (ee->rotation == 270))
           ecore_wl_window_resize(wdata->win, ee->w + fh, ee->h + fw, location);
         else
           ecore_wl_window_resize(wdata->win, ee->w + fw, ee->h + fh, location);
 
-        einfo->info.edges = location;
+        if ((einfo = (Evas_Engine_Info_Wayland_Shm 
*)evas_engine_info_get(ee->evas)))
+          einfo->info.edges = location;
      }
 }
 #endif

-- 

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr

Reply via email to