Commit ee883a2e authored by Alexander Larsson's avatar Alexander Larsson

gdkwindow: Fix list_insert_link_before

We forgot to set prev->next to the new link
parent 9bda0532
......@@ -267,6 +267,9 @@ list_insert_link_before (GList *list,
link->prev = sibling->prev;
sibling->prev = link;
if (link->prev)
link->prev->next = link;
return list;
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