From 65159e1c528f29beb78a2b10cee66d20b6b74a45 Mon Sep 17 00:00:00 2001 From: Darin Adler Date: Sat, 18 Aug 2001 00:07:42 +0000 Subject: [PATCH] Add missing parameters to utf8 functions to make it compile. * gtk/gtktreeview.c: (gtk_tree_view_search_equal_func): Add missing parameters to utf8 functions to make it compile. --- ChangeLog | 5 +++++ ChangeLog.pre-2-0 | 5 +++++ ChangeLog.pre-2-10 | 5 +++++ ChangeLog.pre-2-2 | 5 +++++ ChangeLog.pre-2-4 | 5 +++++ ChangeLog.pre-2-6 | 5 +++++ ChangeLog.pre-2-8 | 5 +++++ gtk/gtktreeview.c | 8 ++++---- 8 files changed, 39 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 61526df78d..8cdec99e51 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-08-17 Darin Adler + + * gtk/gtktreeview.c: (gtk_tree_view_search_equal_func): Add + missing parameters to utf8 functions to make it compile. + Fri Aug 17 19:30:14 2001 Jonathan Blandford * gtk/gtktreeprivate.h: diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 61526df78d..8cdec99e51 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,8 @@ +2001-08-17 Darin Adler + + * gtk/gtktreeview.c: (gtk_tree_view_search_equal_func): Add + missing parameters to utf8 functions to make it compile. + Fri Aug 17 19:30:14 2001 Jonathan Blandford * gtk/gtktreeprivate.h: diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 61526df78d..8cdec99e51 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +2001-08-17 Darin Adler + + * gtk/gtktreeview.c: (gtk_tree_view_search_equal_func): Add + missing parameters to utf8 functions to make it compile. + Fri Aug 17 19:30:14 2001 Jonathan Blandford * gtk/gtktreeprivate.h: diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 61526df78d..8cdec99e51 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,8 @@ +2001-08-17 Darin Adler + + * gtk/gtktreeview.c: (gtk_tree_view_search_equal_func): Add + missing parameters to utf8 functions to make it compile. + Fri Aug 17 19:30:14 2001 Jonathan Blandford * gtk/gtktreeprivate.h: diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 61526df78d..8cdec99e51 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,8 @@ +2001-08-17 Darin Adler + + * gtk/gtktreeview.c: (gtk_tree_view_search_equal_func): Add + missing parameters to utf8 functions to make it compile. + Fri Aug 17 19:30:14 2001 Jonathan Blandford * gtk/gtktreeprivate.h: diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 61526df78d..8cdec99e51 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +2001-08-17 Darin Adler + + * gtk/gtktreeview.c: (gtk_tree_view_search_equal_func): Add + missing parameters to utf8 functions to make it compile. + Fri Aug 17 19:30:14 2001 Jonathan Blandford * gtk/gtktreeprivate.h: diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 61526df78d..8cdec99e51 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +2001-08-17 Darin Adler + + * gtk/gtktreeview.c: (gtk_tree_view_search_equal_func): Add + missing parameters to utf8 functions to make it compile. + Fri Aug 17 19:30:14 2001 Jonathan Blandford * gtk/gtktreeprivate.h: diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c index 1d1b7cd810..56c4da6a2a 100644 --- a/gtk/gtktreeview.c +++ b/gtk/gtktreeview.c @@ -8817,10 +8817,10 @@ gtk_tree_view_search_equal_func (GtkTreeModel *model, gint key_len; gtk_tree_model_get_value (model, iter, column, &value); - normalized_string = g_utf8_normalize (g_value_get_string (&value), G_NORMALIZE_ALL); - normalized_key = g_utf8_normalize (key, G_NORMALIZE_ALL); - case_normalized_string = g_utf8_casefold (normalized_string); - case_normalized_key = g_utf8_casefold (normalized_key); + normalized_string = g_utf8_normalize (g_value_get_string (&value), -1, G_NORMALIZE_ALL); + normalized_key = g_utf8_normalize (key, -1, G_NORMALIZE_ALL); + case_normalized_string = g_utf8_casefold (normalized_string, -1); + case_normalized_key = g_utf8_casefold (normalized_key, -1); key_len = strlen (case_normalized_key);