devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=6d29afae4d8d6f44702af20bae7ccdbd8c05027e

commit 6d29afae4d8d6f44702af20bae7ccdbd8c05027e
Author: Chris Michael <[email protected]>
Date:   Wed Nov 21 10:29:45 2018 -0500

    elementary: Reduce EO calls by using geometry_set
    
    This patch reduces EO calls by using evas_object_geometry_set rather
    than calling move & resize.
---
 src/lib/elementary/elc_naviframe.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/lib/elementary/elc_naviframe.c 
b/src/lib/elementary/elc_naviframe.c
index 048f697934..19ef33b107 100644
--- a/src/lib/elementary/elc_naviframe.c
+++ b/src/lib/elementary/elc_naviframe.c
@@ -922,8 +922,7 @@ _elm_naviframe_elm_layout_sizing_eval(Eo *obj, 
Elm_Naviframe_Data *sd)
    evas_object_geometry_get(obj, &x, &y, &w, &h);
    EINA_INLIST_FOREACH(sd->stack, it)
      {
-        evas_object_move(VIEW(it), x, y);
-        evas_object_resize(VIEW(it), w, h);
+        evas_object_geometry_set(VIEW(it), x, y, w, h);
 
         if (it == top)
           {

-- 


Reply via email to