forked from AuroraMiddleware/gtk
Stack: Fix copy-paste error
This fixes Coverity CID 1452217.
This commit is contained in:
parent
44c4faeed0
commit
37b23927c4
@ -2098,7 +2098,7 @@ gtk_stack_size_allocate (GtkWidget *widget,
|
||||
if (valign == GTK_ALIGN_CENTER || valign == GTK_ALIGN_FILL)
|
||||
child_allocation.y = (allocation->height - child_allocation.height) / 2;
|
||||
else if (valign == GTK_ALIGN_END)
|
||||
child_allocation.x = (allocation->height - child_allocation.height);
|
||||
child_allocation.y = (allocation->height - child_allocation.height);
|
||||
}
|
||||
|
||||
gtk_widget_size_allocate (priv->visible_child->widget, &child_allocation, -1, &child_clip);
|
||||
|
Loading…
Reference in New Issue
Block a user