diff options
Diffstat (limited to 'src/db/Directory.cxx')
-rw-r--r-- | src/db/Directory.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/db/Directory.cxx b/src/db/Directory.cxx index 01e147eff..1da19be98 100644 --- a/src/db/Directory.cxx +++ b/src/db/Directory.cxx @@ -27,6 +27,7 @@ #include "SongSort.hxx" #include "Song.hxx" #include "LightSong.hxx" +#include "lib/icu/Collate.hxx" #include "fs/Traits.hxx" #include "util/Alloc.hxx" #include "util/Error.hxx" @@ -35,8 +36,6 @@ extern "C" { #include "util/list_sort.h" } -#include <glib.h> - #include <assert.h> #include <string.h> #include <stdlib.h> @@ -229,7 +228,8 @@ directory_cmp(gcc_unused void *priv, { const Directory *a = (const Directory *)_a; const Directory *b = (const Directory *)_b; - return g_utf8_collate(a->path.c_str(), b->path.c_str()); + + return IcuCollate(a->path.c_str(), b->path.c_str()); } void |