summaryrefslogtreecommitdiff
path: root/logview/logview-loglist.c
diff options
context:
space:
mode:
authorMonsta <[email protected]>2015-08-21 19:16:29 +0300
committerinfirit <[email protected]>2015-08-31 21:57:23 +0200
commite67c5165293a6950bc15642788d1b41b1e8d9c75 (patch)
treec4c7541babc73b97d65c74e8f4742878e5125f3a /logview/logview-loglist.c
parent55463d8851281552f5cc549617a5d6d2927b7c8f (diff)
downloadmate-utils-e67c5165293a6950bc15642788d1b41b1e8d9c75.tar.bz2
mate-utils-e67c5165293a6950bc15642788d1b41b1e8d9c75.tar.xz
logview: use g_utf8_collate() to sort log display names
from https://git.gnome.org/browse/gnome-system-log/commit/?id=d55c066dcfeff2ddf24152d192137b251cc5cbb6
Diffstat (limited to 'logview/logview-loglist.c')
-rw-r--r--logview/logview-loglist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/logview/logview-loglist.c b/logview/logview-loglist.c
index 3bd0c8aa..847626d9 100644
--- a/logview/logview-loglist.c
+++ b/logview/logview-loglist.c
@@ -352,7 +352,7 @@ loglist_sort_func (GtkTreeModel *model,
case 0:
gtk_tree_model_get (model, a, LOG_NAME, &name_a, -1);
gtk_tree_model_get (model, b, LOG_NAME, &name_b, -1);
- retval = g_strcmp0 (name_a, name_b);
+ retval = g_utf8_collate (name_a, name_b);
g_free (name_a);
g_free (name_b);