g_list_store_splice: Add items in the order of the input array and at the given position
commit758d7073a9485d770b25794f09a2dc32fef29ba1
authorChristoph Reiter <creiter@src.gnome.org>
Tue, 24 Apr 2018 16:00:51 +0000 (24 18:00 +0200)
committerChristoph Reiter <creiter@src.gnome.org>
Mon, 30 Apr 2018 11:02:41 +0000 (30 13:02 +0200)
tree30b96ed577f2ad59f6bfbc6feb31885b30405a63
parent1af84aa4359f23731a3a9eb8e9d6d2df61730274
g_list_store_splice: Add items in the order of the input array and at the given position

It inserted the new items one position after the given one and inserted all new items
at the same position resulting in the items being in the reverse order of the
input array.

It was decided to make these behavioural changes because this function has according to
https://codesearch.debian.net/search?q=g_list_store_splice only one real user (nautilus)
and it didn't do what one would expect from reading the documentation.

https://bugzilla.gnome.org/show_bug.cgi?id=795307
gio/gliststore.c
gio/tests/glistmodel.c