elementary: Reduce EO calls by using geometry_set

This patch reduces EO calls by using evas_object_geometry_set rather
than calling move & resize.
This commit is contained in:
Chris Michael 2018-11-21 10:51:43 -05:00
parent a61b5c380b
commit 27fb5151e5
1 changed files with 1 additions and 2 deletions

View File

@ -55,8 +55,7 @@ _elm_ews_border_geo_apply(Ecore_Evas *ee, Evas_Object *o)
{
int x, y, w, h;
ecore_evas_geometry_get(ee, &x, &y, &w, &h);
evas_object_move(o, x, y);
evas_object_resize(o, w, h);
evas_object_geometry_set(o, x, y, w, h);
}
static void