GtkEventBox: Correctly handle height for width

We need to pass on the width to the child.

https://bugzilla.gnome.org/show_bug.cgi?id=699140
This commit is contained in:
Alexander Larsson 2013-05-06 17:48:46 +02:00
parent dcb84f158b
commit c6a5b800c2

View File

@ -547,7 +547,7 @@ gtk_event_box_get_preferred_height_and_baseline_for_width (GtkWidget *widget,
child = gtk_bin_get_child (bin);
if (child && gtk_widget_get_visible (child))
gtk_widget_get_preferred_height_and_baseline_for_width (child,
-1,
width,
minimum,
natural,
minimum_baseline,