summaryrefslogtreecommitdiff
path: root/gtk/gtkfilesystem.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2005-06-08 05:24:11 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-06-08 05:24:11 +0000
commit5cb7f1ebaa48b6e7bec82b7ea12d40ab6ffc75b7 (patch)
tree05d814b14b4bc5a7ae375fc92353239ef6b305a3 /gtk/gtkfilesystem.c
parent471b638bd309a70cc392e42e48b38cdc4c283393 (diff)
downloadgdk-pixbuf-5cb7f1ebaa48b6e7bec82b7ea12d40ab6ffc75b7.tar.gz
Use g_utf8_collate_key_for_filename().
2005-06-08 Matthias Clasen <mclasen@redhat.com> * gtk/gtkfilesystem.c (gtk_file_info_get_display_key): Use g_utf8_collate_key_for_filename().
Diffstat (limited to 'gtk/gtkfilesystem.c')
-rw-r--r--gtk/gtkfilesystem.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtkfilesystem.c b/gtk/gtkfilesystem.c
index 20347f75a..2b2d27558 100644
--- a/gtk/gtkfilesystem.c
+++ b/gtk/gtkfilesystem.c
@@ -119,9 +119,9 @@ gtk_file_info_get_display_name (const GtkFileInfo *info)
* gtk_file_info_get_display_key:
* @info: a #GtkFileInfo
*
- * Returns results of g_utf8_collate_key() on the display name
- * for @info. This is useful when sorting a bunch of #GtkFileInfo
- * structures since the collate key will be only computed once.
+ * Returns for the collation key for the display name for @info.
+ * This is useful when sorting a bunch of #GtkFileInfo structures
+ * since the collate key will be only computed once.
*
* Return value: The collate key for the display name, or %NULL
* if the display name hasn't been set.
@@ -135,7 +135,7 @@ gtk_file_info_get_display_key (const GtkFileInfo *info)
{
/* Since info->display_key is only a cache, we cast off the const
*/
- ((GtkFileInfo *)info)->display_key = g_utf8_collate_key (info->display_name, -1);
+ ((GtkFileInfo *)info)->display_key = g_utf8_collate_key_for_filename (info->display_name, -1);
}
return info->display_key;