diff options
Diffstat (limited to 'gtk/gtksizerequest.c')
-rw-r--r-- | gtk/gtksizerequest.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtksizerequest.c b/gtk/gtksizerequest.c index adc218713b..4b379cc780 100644 --- a/gtk/gtksizerequest.c +++ b/gtk/gtksizerequest.c @@ -339,6 +339,8 @@ compute_size_for_orientation (GtkWidget *widget, { gint adjusted_min, adjusted_natural, adjusted_for_size = for_size; + gtk_widget_ensure_style (widget); + if (orientation == GTK_SIZE_GROUP_HORIZONTAL) { if (for_size < 0) |