Stack: Fix copy-paste error

This fixes Coverity CID 1452217.
This commit is contained in:
Daniel Boles 2017-08-01 19:18:39 +01:00
parent 44c4faeed0
commit 37b23927c4

View File

@ -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);