aboutsummaryrefslogtreecommitdiff
path: root/src/grouplistdialog.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-06-10 09:28:05 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-06-10 09:28:05 +0000
commit2ce75a37bcca6a5c960c1fb56b530c24de5a8492 (patch)
tree0c67890575d8e869cef9e8e67e14b12e7959b0d2 /src/grouplistdialog.c
parent7ac4bf2db5d09d02f9e0e7ca4da691b7bd5ff0d9 (diff)
fixed Turkish locale problem.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@333 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/grouplistdialog.c')
-rw-r--r--src/grouplistdialog.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/grouplistdialog.c b/src/grouplistdialog.c
index 779e8bd3..b5271fd1 100644
--- a/src/grouplistdialog.c
+++ b/src/grouplistdialog.c
@@ -430,8 +430,9 @@ static void grouplist_dialog_set_list(const gchar *pattern, gboolean refresh)
if (g_pattern_match_string(pspec, ginfo->name)) {
node = grouplist_create_branch(ginfo, pattern);
- if (g_slist_find_custom(subscribed, ginfo->name,
- (GCompareFunc)g_strcasecmp)
+ if (g_slist_find_custom
+ (subscribed, ginfo->name,
+ (GCompareFunc)g_ascii_strcasecmp)
!= NULL)
gtk_ctree_select(GTK_CTREE(ctree), node);
}
@@ -555,7 +556,7 @@ static void ctree_unselected(GtkCTree *ctree, GtkCTreeNode *node, gint column,
if (!ginfo) return;
list = g_slist_find_custom(subscribed, ginfo->name,
- (GCompareFunc)g_strcasecmp);
+ (GCompareFunc)g_ascii_strcasecmp);
if (list) {
g_free(list->data);
subscribed = g_slist_remove(subscribed, list->data);