derekf pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=d8d5fec1a57bfabea1bb75061b346039cad51455

commit d8d5fec1a57bfabea1bb75061b346039cad51455
Author: Derek Foreman <[email protected]>
Date:   Tue Sep 18 09:43:17 2018 -0500

    efl_canvas_animation_player: Convert to new animators
    
    Summary:
    Use more efficient animator mechanism.
    Depends on D7050
    
    Reviewers: devilhorns
    
    Reviewed By: devilhorns
    
    Subscribers: cedric, #reviewers, #committers
    
    Tags: #efl
    
    Differential Revision: https://phab.enlightenment.org/D7051
---
 src/lib/evas/canvas/efl_canvas_animation_player.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/evas/canvas/efl_canvas_animation_player.c 
b/src/lib/evas/canvas/efl_canvas_animation_player.c
index 864fab986a..63abfc3719 100644
--- a/src/lib/evas/canvas/efl_canvas_animation_player.c
+++ b/src/lib/evas/canvas/efl_canvas_animation_player.c
@@ -156,7 +156,7 @@ _start(Eo *eo_obj, Efl_Canvas_Animation_Player_Data *pd)
                            NULL);
    efl_event_callback_call(eo_obj, EFL_ANIMATION_PLAYER_EVENT_STARTED, NULL);
 
-   pd->animator = ecore_animator_add(_animator_cb, eo_obj);
+   pd->animator = ecore_evas_animator_add(pd->target, _animator_cb, eo_obj);
 
    _animator_cb(eo_obj);
 }
@@ -247,7 +247,7 @@ _efl_canvas_animation_player_efl_player_play_set(Eo *eo_obj,
         if (pd->start_delay_timer) return;
 
         pd->time.prev = ecore_loop_time_get();
-        pd->animator = ecore_animator_add(_animator_cb, eo_obj);
+        pd->animator = ecore_evas_animator_add(pd->target, _animator_cb, 
eo_obj);
 
         _animator_cb(eo_obj);
      }

-- 


Reply via email to