[Xfce4-commits] <mousepad:master> Use better string compare function for colour scheme names.
Matthew Brush
noreply at xfce.org
Sat May 5 21:31:43 CEST 2012
Updating branch refs/heads/master
to 7be1dde6dfe47b08cf49f6bfb3f4fe031d9fad8e (commit)
from 349066029e579a6dc1014aff3759e0f78ec52eb7 (commit)
commit 7be1dde6dfe47b08cf49f6bfb3f4fe031d9fad8e
Author: Matthew Brush <mbrush at codebrainz.ca>
Date: Tue Oct 4 00:08:50 2011 -0700
Use better string compare function for colour scheme names.
mousepad/mousepad-window.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/mousepad/mousepad-window.c b/mousepad/mousepad-window.c
index 45a9f82..f042aae 100644
--- a/mousepad/mousepad-window.c
+++ b/mousepad/mousepad-window.c
@@ -3087,8 +3087,8 @@ mousepad_window_color_schemes_compare_by_name (gconstpointer a,
name_a = gtk_source_style_scheme_get_name (GTK_SOURCE_STYLE_SCHEME (a));
name_b = gtk_source_style_scheme_get_name (GTK_SOURCE_STYLE_SCHEME (b));
-
- return g_strcmp0 (name_a, name_b);
+
+ return g_utf8_collate (name_a, name_b);
}
More information about the Xfce4-commits
mailing list