gdkwindow: Fix list_insert_link_before

We forgot to set prev->next to the new link
This commit is contained in:
Alexander Larsson 2015-09-21 16:58:41 +02:00
parent 9bda0532f8
commit ee883a2ef5

View File

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