[epiphany/gnome-3-36] Fix history query limit



commit e0c8e64dd89a1f698486da30f0ef725f9c23d9e0
Author: Jan-Michael Brummer <jan brummer tabos org>
Date:   Mon Apr 20 17:29:17 2020 +0200

    Fix history query limit
    
    Fixes: https://gitlab.gnome.org/GNOME/epiphany/-/issues/1155

 src/ephy-suggestion-model.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/src/ephy-suggestion-model.c b/src/ephy-suggestion-model.c
index 3cbdc0ffc..14ada3824 100644
--- a/src/ephy-suggestion-model.c
+++ b/src/ephy-suggestion-model.c
@@ -27,7 +27,6 @@
 #include <dazzle.h>
 #include <glib/gi18n.h>
 
-#define MAX_COMPLETION_HISTORY_URLS 8
 #define MAX_URL_ENTRIES             25
 
 struct _EphySuggestionModel {
@@ -539,7 +538,7 @@ ephy_suggestion_model_query_async (EphySuggestionModel *self,
 
   ephy_history_service_find_urls (self->history_service,
                                   0, 0,
-                                  MAX_COMPLETION_HISTORY_URLS, 0,
+                                  MAX_URL_ENTRIES, 0,
                                   qlist,
                                   EPHY_HISTORY_SORT_MOST_VISITED,
                                   cancellable,


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