forked from AuroraMiddleware/gtk
Fixed GtkCellAreaBoxContext for some typos introduced while removing GtkCellAreaContext->sum_preferred_width()/height() apis.
This commit is contained in:
parent
30561228ed
commit
a9fd00a435
@ -418,9 +418,9 @@ gtk_cell_area_box_context_sum (GtkCellAreaBoxContext *context,
|
||||
|
||||
for (i = 0; i < array->len; i++)
|
||||
{
|
||||
CachedSize *size = &g_array_index (priv->base_widths, CachedSize, i);
|
||||
CachedSize *size = &g_array_index (array, CachedSize, i);
|
||||
|
||||
if (box_orientation == GTK_ORIENTATION_HORIZONTAL)
|
||||
if (box_orientation == orientation)
|
||||
{
|
||||
/* Dont add spacing for 0 size groups, they can be 0 size because
|
||||
* they contain only invisible cells for this round of requests
|
||||
|
Loading…
Reference in New Issue
Block a user