summaryrefslogtreecommitdiff
path: root/logview
diff options
context:
space:
mode:
authorMonsta <[email protected]>2015-08-21 19:16:29 +0300
committermonsta <[email protected]>2015-09-01 13:10:22 +0300
commit3049b9b3d9d76c839c5880dc7751d79e3aa66eaa (patch)
treed86b52b525eecc098c03c11f00b8ed54d12109dc /logview
parent40d39b877c5ac96e54b80d170736ca526353aaed (diff)
downloadmate-utils-3049b9b3d9d76c839c5880dc7751d79e3aa66eaa.tar.bz2
mate-utils-3049b9b3d9d76c839c5880dc7751d79e3aa66eaa.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')
-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);