[gtk+/treeview-refactor] Fixed a bug in GtkCellAreaBoxIter when allocating vertically.



commit 368cded84d2ca03a9cffb4e38a4837f2730758e0
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date:   Tue Nov 9 13:22:44 2010 +0900

    Fixed a bug in GtkCellAreaBoxIter when allocating vertically.

 gtk/gtkcellareaboxiter.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkcellareaboxiter.c b/gtk/gtkcellareaboxiter.c
index 03e492c..c6dd92f 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++)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]