diff options
author | Benjamin Otte <otte@redhat.com> | 2012-07-18 16:55:32 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2012-08-28 15:42:23 +0200 |
commit | 2cb9dac14c2299c992827863553bd0b019765772 (patch) | |
tree | e56e8b05d8c5d3165edd5f9847f15026d34a8045 /gtk/gtkcontainer.c | |
parent | 0e2f35ed882ab11d010866d32f2f65232145b8d0 (diff) | |
download | gtk+-2cb9dac14c2299c992827863553bd0b019765772.tar.gz |
stylecontext: Pass the changes in the parent to validation function
This way, inherited properties can be updated.
Diffstat (limited to 'gtk/gtkcontainer.c')
-rw-r--r-- | gtk/gtkcontainer.c | 7 |
1 files changed, 6 insertions, 1 deletions
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 |