[recipes] Make search case-insensitive again



commit 20aed4d6eb4bbcdc010ac5ec01cbffb6f0c7c216
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Jan 17 07:36:22 2017 -0500

    Make search case-insensitive again
    
    This was accidentally lost when I reworked the way
    search terms are passed around.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=777311

 src/gr-query-editor.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gr-query-editor.c b/src/gr-query-editor.c
index 6d4412e..fb22c39 100644
--- a/src/gr-query-editor.c
+++ b/src/gr-query-editor.c
@@ -542,7 +542,7 @@ entry_changed_cb (GtkWidget     *entry,
         terms = g_strsplit (text, " ", -1);
 
         for (i = 0; terms[i]; i++)
-                g_ptr_array_add (a, g_strdup (terms[i]));
+                g_ptr_array_add (a, g_utf8_casefold (terms[i], -1));
 
         s2 = g_string_new ("");
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]