Commit 0a3fa74a authored by Matthias Clasen's avatar Matthias Clasen

Properly propagate expand flags

When showing a widget that already has need_compute_expand set,
we need to queue the recomputation on the parent.
parent c7e1f567
......@@ -3810,7 +3810,8 @@ gtk_widget_show (GtkWidget *widget)
widget->priv->computed_hexpand ||
widget->priv->computed_vexpand)
{
gtk_widget_queue_compute_expand (widget);
if (widget->priv->parent != NULL)
gtk_widget_queue_compute_expand (widget->priv->parent);
}
g_signal_emit (widget, widget_signals[SHOW], 0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment