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:
parent
dcb84f158b
commit
c6a5b800c2
@ -547,7 +547,7 @@ gtk_event_box_get_preferred_height_and_baseline_for_width (GtkWidget *widget,
|
|||||||
child = gtk_bin_get_child (bin);
|
child = gtk_bin_get_child (bin);
|
||||||
if (child && gtk_widget_get_visible (child))
|
if (child && gtk_widget_get_visible (child))
|
||||||
gtk_widget_get_preferred_height_and_baseline_for_width (child,
|
gtk_widget_get_preferred_height_and_baseline_for_width (child,
|
||||||
-1,
|
width,
|
||||||
minimum,
|
minimum,
|
||||||
natural,
|
natural,
|
||||||
minimum_baseline,
|
minimum_baseline,
|
||||||
|
Loading…
Reference in New Issue
Block a user