[clutter] examples/layout-manager: Remove unnecessary easing state save



commit c11c875762e60139adbdc0263ff292fea7ef9da6
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Fri Mar 8 15:57:26 2013 +0000

    examples/layout-manager: Remove unnecessary easing state save
    
    The actors in the layout are already set up with a non-default easing
    state, we can use that.

 examples/layout-manager.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/examples/layout-manager.c b/examples/layout-manager.c
index 47195ce..1b76844 100644
--- a/examples/layout-manager.c
+++ b/examples/layout-manager.c
@@ -318,9 +318,7 @@ static gboolean
 on_enter (ClutterActor *rect,
           ClutterEvent *event)
 {
-  clutter_actor_save_easing_state (rect);
   clutter_actor_set_scale (rect, 1.2, 1.2);
-  clutter_actor_restore_easing_state (rect);
 
   return CLUTTER_EVENT_STOP;
 }
@@ -329,9 +327,7 @@ static gboolean
 on_leave (ClutterActor *rect,
           ClutterEvent *event)
 {
-  clutter_actor_save_easing_state (rect);
   clutter_actor_set_scale (rect, 1.0, 1.0);
-  clutter_actor_restore_easing_state (rect);
 
   return CLUTTER_EVENT_STOP;
 }


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