From 368cded84d2ca03a9cffb4e38a4837f2730758e0 Mon Sep 17 00:00:00 2001 From: Tristan Van Berkom Date: Tue, 9 Nov 2010 13:22:44 +0900 Subject: [PATCH] Fixed a bug in GtkCellAreaBoxIter when allocating vertically. --- gtk/gtkcellareaboxiter.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gtk/gtkcellareaboxiter.c b/gtk/gtkcellareaboxiter.c index 03e492cfcd..c6dd92f0dc 100644 --- a/gtk/gtkcellareaboxiter.c +++ b/gtk/gtkcellareaboxiter.c @@ -491,9 +491,7 @@ allocate_for_orientation (GtkCellAreaBoxIter *iter, gint avail_size = size; orientation_sizes = - gtk_cell_area_box_iter_get_requests (iter, - GTK_ORIENTATION_HORIZONTAL, - &n_groups); + gtk_cell_area_box_iter_get_requests (iter, orientation, &n_groups); /* Count groups that expand */ for (i = 0; i < n_groups; i++)