# HG changeset patch
# User zas_
# Date 1261227200 0
# Node ID 95a013ade7e2871ad839f0f2078c75d187176a0a
# Parent  763c254bc57a3b941a2d2fdf6ccf46bca25c41b8
Fix bug 2917164.
g_utf8_collate_key_for_filename() don't give sort order one
may expect. Using g_utf8_collate_key() make things closer
to many other programs output (ie. ls and gqview).

Thanks to Michael pointing this out.

diff -r 763c254bc57a -r 95a013ade7e2 src/filedata.c
--- a/src/filedata.c	Sat Dec 19 12:49:19 2009 +0000
+++ b/src/filedata.c	Sat Dec 19 12:53:20 2009 +0000
@@ -230,7 +230,7 @@
 	g_free(fd->collate_key_name);
 	g_free(fd->collate_key_name_nocase);
 
-#if GLIB_CHECK_VERSION(2, 8, 0)
+#if 0 && GLIB_CHECK_VERSION(2, 8, 0)
 	fd->collate_key_name = g_utf8_collate_key_for_filename(fd->name, -1);
 	fd->collate_key_name_nocase = g_utf8_collate_key_for_filename(caseless_name, -1);
 #else