Commit 42a6ae6c authored by Benjamin Otte's avatar Benjamin Otte

widget: Set the allocation via gtk_widget_set_allocation()

There is no good reason to assign the value directly.

Also, this fixes d23f3254
where widgets that chained up instead of calling
gtk_widget_set_allocation() would not draw becaues of empty clip.
parent 631688cf
......@@ -6348,7 +6348,7 @@ gtk_widget_real_size_allocate (GtkWidget *widget,
GtkWidgetPrivate *priv = widget->priv;
priv->allocation = *allocation;
gtk_widget_set_allocation (widget, allocation);
if (gtk_widget_get_realized (widget) &&
gtk_widget_get_has_window (widget))
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