Gio.ListStore overrides: use splice() when adding/removing many items with newer... 896b73a084f314beae6c4879d0f5b4d4353e555a83/head
commit896b73a084f314beae6c4879d0f5b4d4353e555a
authorChristoph Reiter <reiter.christoph@gmail.com>
Thu, 16 Aug 2018 16:47:57 +0000 (16 18:47 +0200)
committerChristoph Reiter <reiter.christoph@gmail.com>
Thu, 16 Aug 2018 16:47:57 +0000 (16 18:47 +0200)
tree5fed122129cb3f8e71d77c0790ea08150c02769e
parent789768695f4fe7433e010e1d43e8b74160e10dfc
Gio.ListStore overrides: use splice() when adding/removing many items with newer GLib. See #115

g_list_store_splice() was broken when adding items and fixed with glib 2.57.1.
See https://bugzilla.gnome.org/show_bug.cgi?id=795307

This makes the override code use the fast splice method with newer glib and
uses a slower fallback version with broken glib versions.
gi/overrides/Gio.py