[epiphany] Fix history query limit
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] Fix history query limit
- Date: Mon, 20 Apr 2020 16:13:12 +0000 (UTC)
commit 71665b85d2e9a17a846c647e34bf9b2e55fbd990
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 162d1f019..b8913508a 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 {
@@ -541,7 +540,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]