Chain up in some size-allocate implementations

The default implementation does just the right thing for most widgets.
This commit is contained in:
Timm Bäder 2016-09-09 18:32:03 +02:00 committed by Michael Natterer
parent 64a93c6051
commit 53f34ebc0b
7 changed files with 7 additions and 15 deletions

View file

@ -149,7 +149,7 @@ gimp_frame_size_allocate (GtkWidget *widget,
GtkWidget *child = gtk_bin_get_child (GTK_BIN (widget));
GtkAllocation child_allocation;
gtk_widget_set_allocation (widget, allocation);
GTK_WIDGET_CLASS (parent_class)->size_allocate (widget, allocation);
gimp_frame_child_allocate (frame, &child_allocation);