elm_box: Convert to new animators
authorDerek Foreman <derek.foreman.samsung@gmail.com>
Tue, 18 Sep 2018 14:42:54 +0000 (09:42 -0500)
committerYeongjong Lee <yj34.lee@samsung.com>
Fri, 28 Sep 2018 01:18:50 +0000 (10:18 +0900)
Summary:
Use more efficient animator mechanism.
Depends on D7044

Reviewers: devilhorns

Reviewed By: devilhorns

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D7045

src/lib/elementary/elm_box.c

index 178eef2..4a35400 100644 (file)
@@ -325,7 +325,7 @@ _transition_layout_animation_start(Evas_Object *obj,
      (obj, ELM_BOX_EVENT_CHILD_REMOVED, _transition_layout_child_removed, layout_data);
 
    if (!layout_data->animator)
-     layout_data->animator = ecore_animator_add(transition_animation_cb, obj);
+     layout_data->animator = ecore_evas_animator_add(obj, transition_animation_cb, obj);
 
    layout_data->animation_ended = EINA_FALSE;