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)
downloadefl-6d29afae4d8d6f44702af20bae7ccdbd8c05027e.tar.gz
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 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)
{