[tracker/tracker-0.6] Fixes: NB#124920, Tracker sorting is incorrect
- From: Martyn James Russell <mr src gnome org>
- To: svn-commits-list gnome org
- Subject: [tracker/tracker-0.6] Fixes: NB#124920, Tracker sorting is incorrect
- Date: Fri, 26 Jun 2009 14:07:22 +0000 (UTC)
commit a7104a09fec1676b2db8bfcedb216522963e95f7
Author: Martyn Russell <martyn imendio com>
Date: Fri Jun 26 15:06:28 2009 +0100
Fixes: NB#124920, Tracker sorting is incorrect
We now use g_utf8_collate_key_for_filename() instead of
g_utf8_collate_key() for all strings we collate (for sorting).
src/libtracker-db/tracker-db-manager.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-db/tracker-db-manager.c b/src/libtracker-db/tracker-db-manager.c
index e1e79aa..b219d4e 100644
--- a/src/libtracker-db/tracker-db-manager.c
+++ b/src/libtracker-db/tracker-db-manager.c
@@ -1471,7 +1471,7 @@ function_collate_key (TrackerDBInterface *interface,
GValue result = { 0 };
gchar *collate_key;
- collate_key = g_utf8_collate_key (g_value_get_string (&values[0]), -1);
+ collate_key = g_utf8_collate_key_for_filename (g_value_get_string (&values[0]), -1);
g_value_init (&result, G_TYPE_STRING);
g_value_take_string (&result, collate_key);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]