antognolli pushed a commit to branch ecore-1.7.

commit 8c060968e7640d6b82f08db22c51be7ebc686e5e
Author: Rafael Antognolli <[email protected]>
Date:   Fri Sep 6 18:25:23 2013 -0300

    ecore/wayland: Fix screen size get when screen is rotated.
---
 src/lib/ecore_wayland/ecore_wl.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/lib/ecore_wayland/ecore_wl.c b/src/lib/ecore_wayland/ecore_wl.c
index fb4e6be..04510de 100644
--- a/src/lib/ecore_wayland/ecore_wl.c
+++ b/src/lib/ecore_wayland/ecore_wl.c
@@ -346,10 +346,6 @@ ecore_wl_screen_size_get(int *w, int *h)
          if (w) *w = _ecore_wl_disp->output->allocation.w;
          if (h) *h = _ecore_wl_disp->output->allocation.h;
      }
-
-
-   if (w) *w = _ecore_wl_disp->output->allocation.w;
-   if (h) *h = _ecore_wl_disp->output->allocation.h;
 }
 
 /* @since 1.2 */

-- 

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk

Reply via email to