forked from AuroraMiddleware/gtk
Fixed a bug in GtkCellAreaBoxIter when allocating vertically.
This commit is contained in:
parent
85d6aa1627
commit
368cded84d
@ -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++)
|
||||
|
Loading…
Reference in New Issue
Block a user