From 24c1a4f24b370f2803a8f1c05d2e9ecdc3efacba Mon Sep 17 00:00:00 2001 From: Johannes Schmid Date: Mon, 14 Dec 2009 17:16:21 +0100 Subject: [PATCH] native-layout: Fix typo that brakes layout completely --- gtk/gtkbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkbox.c b/gtk/gtkbox.c index ba357ade5d..5de85b6323 100644 --- a/gtk/gtkbox.c +++ b/gtk/gtkbox.c @@ -487,7 +487,7 @@ gtk_box_size_allocate (GtkWidget *widget, &sizes[i].minimum_size, &sizes[i].natural_size); else - gtk_extended_layout_get_width_for_height (GTK_EXTENDED_LAYOUT (child->widget), + gtk_extended_layout_get_height_for_width (GTK_EXTENDED_LAYOUT (child->widget), allocation->width, &sizes[i].minimum_size, &sizes[i].natural_size);