[totem] backend: Fix startup warnings



commit dc0529a60093522209f97736075d7c0741281988
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Jun 28 12:31:42 2012 +0100

    backend: Fix startup warnings

 src/backend/totem-aspect-frame.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/backend/totem-aspect-frame.c b/src/backend/totem-aspect-frame.c
index 9ccf846..c13b74b 100644
--- a/src/backend/totem-aspect-frame.c
+++ b/src/backend/totem-aspect-frame.c
@@ -232,6 +232,7 @@ totem_aspect_frame_allocate (ClutterActor           *actor,
 
   clutter_actor_allocate (child, &child_box, flags);
 
+  clutter_actor_save_easing_state (child);
   clutter_actor_set_easing_duration (child, 0);
 
   /* FIXME: We should swap height and width if the actor is on its side */
@@ -354,6 +355,7 @@ totem_aspect_frame_set_expand (TotemAspectFrame *frame, gboolean expand)
       if (child)
         {
           /* Duration will be reset in _allocate() */
+          clutter_actor_save_easing_state (child);
           clutter_actor_set_easing_duration (child, 500);
           clutter_actor_queue_relayout (CLUTTER_ACTOR (frame));
         }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]