Code

filelist: fix segfault during filelist_sort()
authorMax Kellermann <max@duempel.org>
Fri, 19 Sep 2008 15:31:17 +0000 (17:31 +0200)
committerMax Kellermann <max@duempel.org>
Fri, 19 Sep 2008 15:31:17 +0000 (17:31 +0200)
commit45b554123c08f36de1daf133164f76154045c387
tree57d3a78d39098b5a2246e29f92066457aab357d1
parent7e9bee742cc8e7cc8d47f3a56466337d6d3a8efd
filelist: fix segfault during filelist_sort()

When I converted the filelist from GList to GPtrArray, I missed that
the GCompareFunc does not actually get the pointers from
g_ptr_array_sort(), but pointers to the pointers...  run
g_ptr_array_sort_with_data() instead with a wrapper function.
src/filelist.c