summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elc_naviframe.c
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2018-11-21 10:29:45 -0500
committerChris Michael <cp.michael@samsung.com>2018-11-21 11:25:58 -0500
commit6d29afae4d8d6f44702af20bae7ccdbd8c05027e (patch)
tree0ed2796da31a3f3e4b117f996304fdc042e63539 /src/lib/elementary/elc_naviframe.c
parent50ab99b05b2a95c0d52a910f7167309bf1608f13 (diff)
elementary: Reduce EO calls by using geometry_set
This patch reduces EO calls by using evas_object_geometry_set rather than calling move & resize.
Diffstat (limited to 'src/lib/elementary/elc_naviframe.c')
-rw-r--r--src/lib/elementary/elc_naviframe.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/elementary/elc_naviframe.c b/src/lib/elementary/elc_naviframe.c
index 048f697..19ef33b 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)
922 evas_object_geometry_get(obj, &x, &y, &w, &h); 922 evas_object_geometry_get(obj, &x, &y, &w, &h);
923 EINA_INLIST_FOREACH(sd->stack, it) 923 EINA_INLIST_FOREACH(sd->stack, it)
924 { 924 {
925 evas_object_move(VIEW(it), x, y); 925 evas_object_geometry_set(VIEW(it), x, y, w, h);
926 evas_object_resize(VIEW(it), w, h);
927 926
928 if (it == top) 927 if (it == top)
929 { 928 {