emotion: Convert to new animators
authorDerek Foreman <derek.foreman.samsung@gmail.com>
Tue, 18 Sep 2018 14:43:14 +0000 (09:43 -0500)
committerYeongjong Lee <yj34.lee@samsung.com>
Fri, 28 Sep 2018 01:18:51 +0000 (10:18 +0900)
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

index ac22a87..8e59f0a 100644 (file)
@@ -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