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 53f34ebc0b for this file.
This commit is contained in:
Michael Natterer 2016-09-30 19:23:39 +02:00
parent cb2fe2893e
commit a898f22cce
1 changed files with 2 additions and 1 deletions

View File

@ -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);