From 7e343f11f28a736d88619b85c9b9c6ea52a7e142 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Tue, 4 Sep 2012 17:49:46 -0300 Subject: [PATCH] st-bin: Make sure not to allocate hidden children --- src/st/st-bin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/st/st-bin.c b/src/st/st-bin.c index b08334639..3bfa93d87 100644 --- a/src/st/st-bin.c +++ b/src/st/st-bin.c @@ -101,7 +101,7 @@ st_bin_allocate (ClutterActor *self, clutter_actor_set_allocation (self, box, flags); - if (priv->child) + if (priv->child && CLUTTER_ACTOR_IS_VISIBLE (priv->child)) { StThemeNode *theme_node = st_widget_get_theme_node (ST_WIDGET (self)); ClutterActorBox childbox;