derekf pushed a commit to branch master.

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

commit be752e6bc123145e6818a4183bb021bf303766a5
Author: Derek Foreman <derek.foreman.sams...@gmail.com>
Date:   Tue Sep 18 09:43:14 2018 -0500

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

diff --git a/src/lib/emotion/emotion_smart.c b/src/lib/emotion/emotion_smart.c
index ac22a873b1..8e59f0ac6b 100644
--- a/src/lib/emotion/emotion_smart.c
+++ b/src/lib/emotion/emotion_smart.c
@@ -1518,7 +1518,8 @@ _emotion_frame_new(Evas_Object *obj)
    Efl_Canvas_Video_Data *sd;
 
    E_SMART_OBJ_GET(sd, obj, E_OBJ_NAME);
-   if (!sd->anim) sd->anim = ecore_animator_add(_emotion_frame_anim, obj);
+   if (!sd->anim)
+     sd->anim = ecore_evas_animator_add(obj, _emotion_frame_anim, obj);
 }
 
 EAPI void

-- 


Reply via email to