Commit a898f22c authored by Michael Natterer's avatar Michael Natterer 😴

libgimpwidgets: don't chain up in gimp_frame_size_allocate()

We completely replace GtkFrame's implementation here, and chaining up
caused an infinite loop in the widget layout apparatus in some cases.

This reverts 53f34ebc for this file.
parent cb2fe289
......@@ -149,7 +149,8 @@ gimp_frame_size_allocate (GtkWidget *widget,
GtkWidget *child = gtk_bin_get_child (GTK_BIN (widget));
GtkAllocation child_allocation;
GTK_WIDGET_CLASS (parent_class)->size_allocate (widget, allocation);
/* must not chain up here */
gtk_widget_set_allocation (widget, allocation);
gimp_frame_child_allocate (frame, &child_allocation);
......
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