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:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user