From 0009c82081c3d0681669f3dff63ff971037a0a11 Mon Sep 17 00:00:00 2001 From: Christopher Michael 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. SVN revision: 63523 --- legacy/ecore/src/lib/ecore_evas/ecore_evas_x.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/legacy/ecore/src/lib/ecore_evas/ecore_evas_x.c b/legacy/ecore/src/lib/ecore_evas/ecore_evas_x.c index b8c32cffcd..95502afacf 100644 --- a/legacy/ecore/src/lib/ecore_evas/ecore_evas_x.c +++ b/legacy/ecore/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);