diff --git a/src/st/st-label.c b/src/st/st-label.c index 3f82a2c15..947c8ec86 100644 --- a/src/st/st-label.c +++ b/src/st/st-label.c @@ -294,7 +294,6 @@ st_label_class_init (StLabelClass *klass) static void st_label_init (StLabel *label) { - ClutterActor *actor = CLUTTER_ACTOR (label); StLabelPrivate *priv; label->priv = priv = st_label_get_instance_private (label); @@ -306,10 +305,7 @@ st_label_init (StLabel *label) label->priv->shadow_width = -1.; label->priv->shadow_height = -1.; - clutter_actor_add_child (actor, priv->label); - - clutter_actor_set_offscreen_redirect (actor, - CLUTTER_OFFSCREEN_REDIRECT_ALWAYS); + clutter_actor_add_child (CLUTTER_ACTOR (label), priv->label); } /**