Fixed bad typo causing bad vertical requests on frames with no label.

This commit is contained in:
Tristan Van Berkom 2010-08-06 18:57:41 -04:00
parent 651bed57a4
commit 03dfaf3c3e

View File

@ -905,7 +905,7 @@ gtk_frame_get_height_for_width (GtkSizeRequest *request,
child = gtk_bin_get_child (bin);
if (child && gtk_widget_get_visible (child))
{
gtk_size_request_get_height_for_width (GTK_SIZE_REQUEST (priv->label_widget),
gtk_size_request_get_height_for_width (GTK_SIZE_REQUEST (child),
width, &child_min, &child_nat);
minimum += child_min;
natural += child_nat;