From 3ad278b33c0832366c9c88b0e1a4ff78816aa442 Mon Sep 17 00:00:00 2001 From: devilhorns Date: Wed, 21 Sep 2011 21:01:15 +0000 Subject: [PATCH] Ecore_Evas: When doing rotation_set_internal, no need to fetch the ecore_x_window_size here as the returned values are not used anyway, so avoid the extra function call. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@63523 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/ecore_evas/ecore_evas_x.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/ecore_evas/ecore_evas_x.c b/src/lib/ecore_evas/ecore_evas_x.c index b8c32cf..95502af 100644 --- a/src/lib/ecore_evas/ecore_evas_x.c +++ b/src/lib/ecore_evas/ecore_evas_x.c @@ -1339,9 +1339,9 @@ _ecore_evas_x_resize(Ecore_Evas *ee, int w, int h) { if ((ee->w != w) || (ee->h != h)) { - ecore_x_window_resize(ee->prop.window, w, h); ee->w = w; ee->h = h; + ecore_x_window_resize(ee->prop.window, w, h); if ((ee->rotation == 90) || (ee->rotation == 270)) { evas_output_size_set(ee->evas, ee->h, ee->w); @@ -1487,9 +1487,9 @@ _ecore_evas_x_rotation_set_internal(Ecore_Evas *ee, int rotation, int resize, } else { - int w, h; + /* int w, h; */ - ecore_x_window_size_get(ee->prop.window, &w, &h); + /* ecore_x_window_size_get(ee->prop.window, &w, &h); */ if ((rotation == 0) || (rotation == 180)) { evas_output_size_set(ee->evas, ee->w, ee->h); -- 2.7.4