Fixed computation of sizegroups when no explicit request is set.

My previous commit to GtkSizeGroup made sure that when
gtk_widget_set_size_request() is set on a widget, it will be
taken into account when computing the widget's own request,
this commit fixes the case where there is no explicit size
request.
This commit is contained in:
Tristan Van Berkom 2010-04-19 14:46:28 -04:00
parent e9e3725ee7
commit 3783a0a54f

View File

@ -767,6 +767,8 @@ _gtk_size_group_bump_requisition (GtkWidget *widget,
else
result = compute_dimension (widget, mode, MAX (aux_info->height, widget_requisition));
}
else
result = compute_dimension (widget, mode, widget_requisition);
}
else if (aux_info)
{