bbox: Don't report a horizontal baseline

This commit is contained in:
Timm Bäder 2017-07-05 08:31:15 +02:00 committed by Matthias Clasen
parent f0d6cb5f40
commit 68c35bbe15

View File

@ -731,10 +731,13 @@ gtk_button_box_measure (GtkWidget *widget,
else
*minimum = *natural = requisition.height;
if (minimum_baseline)
*minimum_baseline = baseline;
if (natural_baseline)
*natural_baseline = baseline;
if (orientation == GTK_ORIENTATION_VERTICAL)
{
if (minimum_baseline)
*minimum_baseline = baseline;
if (natural_baseline)
*natural_baseline = baseline;
}
}
}