From 2cb9dac14c2299c992827863553bd0b019765772 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Wed, 18 Jul 2012 16:55:32 +0200 Subject: stylecontext: Pass the changes in the parent to validation function This way, inherited properties can be updated. --- gtk/gtkcontainer.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'gtk/gtkcontainer.c') diff --git a/gtk/gtkcontainer.c b/gtk/gtkcontainer.c index ad8ccb5657..f985173b59 100644 --- a/gtk/gtkcontainer.c +++ b/gtk/gtkcontainer.c @@ -1652,14 +1652,19 @@ gtk_container_idle_sizer (gpointer data) { GSList *next = slist->next; GtkContainer *container = slist->data; + GtkBitmask *empty; + + empty = _gtk_bitmask_new (); container->priv->restyle_pending = FALSE; _gtk_style_context_validate (gtk_widget_get_style_context (GTK_WIDGET (container)), current_time, - 0); + 0, + empty); g_slist_free_1 (slist); slist = next; + _gtk_bitmask_free (empty); } /* we may be invoked with a container_resize_queue of NULL, because -- cgit v1.2.1