From 1b88122873afac513449b03c0658ab3802c84f3d Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Thu, 11 Dec 2008 15:41:25 +0000 Subject: [PATCH] Do not set the IN_PAINT flag inside the Stage paint Since the CLUTTER_ACTOR_IN_PAINT private flag is set as part of the paint process by clutter_actor_paint(), there is no need to set it inside the ClutterStage paint function. --- clutter/clutter-stage.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/clutter/clutter-stage.c b/clutter/clutter-stage.c index f2243ea09..7e5abe76f 100644 --- a/clutter/clutter-stage.c +++ b/clutter/clutter-stage.c @@ -213,8 +213,6 @@ clutter_stage_paint (ClutterActor *self) ClutterStagePrivate *priv = CLUTTER_STAGE (self)->priv; CoglColor stage_color; - CLUTTER_SET_PRIVATE_FLAGS (self, CLUTTER_ACTOR_IN_PAINT); - CLUTTER_NOTE (PAINT, "Initializing stage paint"); cogl_color_set_from_4ub (&stage_color, @@ -235,8 +233,6 @@ clutter_stage_paint (ClutterActor *self) CLUTTER_NOTE (PAINT, "Proxying the paint to the stage implementation"); clutter_actor_paint (priv->impl); - CLUTTER_UNSET_PRIVATE_FLAGS (self, CLUTTER_ACTOR_IN_PAINT); - /* this will take care of painting every child */ CLUTTER_ACTOR_CLASS (clutter_stage_parent_class)->paint (self); }