devilhorns pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=0f00fa0777ab3fdd1a5992e693cbaff82adac6f6
commit 0f00fa0777ab3fdd1a5992e693cbaff82adac6f6 Author: Chris Michael <[email protected]> Date: Wed Nov 21 10:48:30 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/elm_notify.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/lib/elementary/elm_notify.c b/src/lib/elementary/elm_notify.c index 7acf815363..8a123d2de9 100644 --- a/src/lib/elementary/elm_notify.c +++ b/src/lib/elementary/elm_notify.c @@ -96,8 +96,7 @@ _notify_move_to_orientation(Evas_Object *obj, Evas_Coord x, Evas_Coord y, Evas_C x = x + ((w - minw) * ax); y = y + ((h - minh) * ay); - evas_object_move(sd->notify, x, y); - evas_object_resize(sd->notify, minw, minh); + evas_object_geometry_set(sd->notify, x, y, minw, minh); } static void @@ -137,8 +136,7 @@ _sizing_eval(Evas_Object *obj) x = 0; y = 0; } - evas_object_move(obj, x, y); - evas_object_resize(obj, w, h); + evas_object_geometry_set(obj, x, y, w, h); } EOLIAN static Efl_Ui_Theme_Apply_Result --
