author | Max Kellermann <max@duempel.org> | |
Fri, 19 Sep 2008 15:31:17 +0000 (17:31 +0200) | ||
committer | Max Kellermann <max@duempel.org> | |
Fri, 19 Sep 2008 15:31:17 +0000 (17:31 +0200) | ||
commit | 45b554123c08f36de1daf133164f76154045c387 | |
tree | 57d3a78d39098b5a2246e29f92066457aab357d1 | tree | snapshot |
parent | 7e9bee742cc8e7cc8d47f3a56466337d6d3a8efd | commit | diff |
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.
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 | diff | blob | history |