derekf pushed a commit to branch master.

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

commit 899f208733c23c4583a0a69a5e0e8e4aa48dfd4e
Author: Derek Foreman <derek.foreman.sams...@gmail.com>
Date:   Tue Sep 18 09:42:42 2018 -0500

    selection_manager: Convert to new animators
    
    Summary:
    Use more efficient animator mechanism.
    
    Depends on D7041
    
    Reviewers: devilhorns
    
    Reviewed By: devilhorns
    
    Subscribers: cedric, #reviewers, #committers
    
    Tags: #efl
    
    Differential Revision: https://phab.enlightenment.org/D7042
---
 src/lib/elementary/efl_selection_manager.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/lib/elementary/efl_selection_manager.c 
b/src/lib/elementary/efl_selection_manager.c
index 8baf08abe2..3d5d65c2e5 100644
--- a/src/lib/elementary/efl_selection_manager.c
+++ b/src/lib/elementary/efl_selection_manager.c
@@ -1350,7 +1350,7 @@ _x11_drag_mouse_up(void *data, int etype EINA_UNUSED, 
void *event)
              if (!seat_sel->accept)
                {  /* Commit animation when drag cancelled */
                   /* Record final position of dragwin, then do animation */
-                  ecore_animator_timeline_add(0.3,
+                  ecore_evas_animator_timeline_add(seat_sel->drag_win, 0.3,
                         _drag_cancel_animate, seat_sel);
                }
              else
@@ -2748,7 +2748,7 @@ _wl_dnd_end(void *data, int type EINA_UNUSED, void *event)
           {
              /* Commit animation when drag cancelled */
              /* Record final position of dragwin, then do animation */
-             ecore_animator_timeline_add(0.3, _drag_cancel_animate, seat_sel);
+             ecore_evas_animator_timeline_add(seat_sel->drag_win, 0.3, 
_drag_cancel_animate, seat_sel);
           }
         else
           {
@@ -4493,7 +4493,7 @@ _drag_anim_start(Sel_Manager_Drag_Container *dc)
         evas_object_del(final_icon);
         evas_object_del(temp_win);
      }
-   dc->animator = ecore_animator_timeline_add(dc->anim_duration, 
_drag_anim_play, dc);
+   dc->animator = ecore_evas_animator_timeline_add(dc->e, dc->anim_duration, 
_drag_anim_play, dc);
 }
 
 static Eina_Bool

-- 


Reply via email to