From c6a5b800c29040a6e9e4d73bac4adcc990cc7dcc Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Mon, 6 May 2013 17:48:46 +0200 Subject: [PATCH] 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 --- gtk/gtkeventbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkeventbox.c b/gtk/gtkeventbox.c index fa49a5d403..b696d1b1e3 100644 --- a/gtk/gtkeventbox.c +++ b/gtk/gtkeventbox.c @@ -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,