[clutter] actor: Do not queue_redraw() in set_opacity()



commit de9112bc8c8ecf9f64b914e50b09f89a994f8d66
Author: Emmanuele Bassi <ebassi linux intel com>
Date:   Tue Apr 10 12:58:17 2012 +0100

    actor: Do not queue_redraw() in set_opacity()
    
    The opacity internal setter will do it for us, and it will take into
    consideration any eventual flatten effect applied to the actor.
    
    This unbreaks the actor-offscreen-redirect conformance test.

 clutter/clutter-actor.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/clutter/clutter-actor.c b/clutter/clutter-actor.c
index c7740be..24ad566 100644
--- a/clutter/clutter-actor.c
+++ b/clutter/clutter-actor.c
@@ -10010,8 +10010,6 @@ clutter_actor_set_opacity (ClutterActor *self,
     }
   else
     _clutter_actor_update_transition (self, obj_props[PROP_OPACITY], opacity);
-
-  clutter_actor_queue_redraw (self);
 }
 
 /*



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