summaryrefslogtreecommitdiff
path: root/gtk/gtkfilesystem.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkfilesystem.c')
-rw-r--r--gtk/gtkfilesystem.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkfilesystem.c b/gtk/gtkfilesystem.c
index 493960239d..7e10039871 100644
--- a/gtk/gtkfilesystem.c
+++ b/gtk/gtkfilesystem.c
@@ -1183,7 +1183,11 @@ gtk_file_path_get_type (void)
GSList *
gtk_file_paths_sort (GSList *paths)
{
+#ifndef G_OS_WIN32
return g_slist_sort (paths, (GCompareFunc)strcmp);
+#else
+ return g_slist_sort (paths, (GCompareFunc)_gtk_file_system_win32_path_compare);
+#endif
}
/**