Commit 3b97a0b9 authored by Matthias Clasen's avatar Matthias Clasen

Fix an oversight

parent 7f060650
......@@ -584,7 +584,7 @@ gtk_overlay_reorder_overlay (GtkOverlay *overlay,
}
else
{
new_link = g_slist_nth (priv->children, index);
new_link = g_slist_nth (priv->children, position);
index = MIN (position, g_slist_length (priv->children) - 1);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment