[devhelp] KeywordModel: remove unused parameter of keyword_model_search()



commit 4059afd079e260a265fb539dbb91e1bf23bad2be
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Fri Jan 19 12:51:42 2018 +0100

    KeywordModel: remove unused parameter of keyword_model_search()

 src/dh-keyword-model.c |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/src/dh-keyword-model.c b/src/dh-keyword-model.c
index b44b269..cccc048 100644
--- a/src/dh-keyword-model.c
+++ b/src/dh-keyword-model.c
@@ -506,7 +506,6 @@ handle_book_id_only (DhSearchContext  *search_context,
 
 static GQueue *
 keyword_model_search (DhKeywordModel   *model,
-                      const gchar      *search_string,
                       DhSearchContext  *search_context,
                       DhLink          **exact_link)
 {
@@ -732,10 +731,7 @@ dh_keyword_model_filter (DhKeywordModel *model,
                 else
                         priv->current_book_id = g_strdup (book_id);
 
-                new_list = keyword_model_search (model,
-                                                 search_string,
-                                                 search_context,
-                                                 &exact_link);
+                new_list = keyword_model_search (model, search_context, &exact_link);
         } else {
                 new_list = g_queue_new ();
         }


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