aboutsummaryrefslogtreecommitdiffstats
path: root/lib/history/ephy-history-service.c
diff options
context:
space:
mode:
authorClaudio Saavedra <csaavedra@igalia.com>2012-03-06 17:34:50 +0800
committerXan Lopez <xan@igalia.com>2012-03-07 04:49:47 +0800
commitfd23fbade3ef2c5490f6d3e7f0a7de7c39872fff (patch)
treef5aed7af25cca9c603f78750592cf78983f5e78c /lib/history/ephy-history-service.c
parentd08d60909efaf563d851474328a463fc7b26744e (diff)
downloadgsoc2013-epiphany-fd23fbade3ef2c5490f6d3e7f0a7de7c39872fff.tar
gsoc2013-epiphany-fd23fbade3ef2c5490f6d3e7f0a7de7c39872fff.tar.gz
gsoc2013-epiphany-fd23fbade3ef2c5490f6d3e7f0a7de7c39872fff.tar.bz2
gsoc2013-epiphany-fd23fbade3ef2c5490f6d3e7f0a7de7c39872fff.tar.lz
gsoc2013-epiphany-fd23fbade3ef2c5490f6d3e7f0a7de7c39872fff.tar.xz
gsoc2013-epiphany-fd23fbade3ef2c5490f6d3e7f0a7de7c39872fff.tar.zst
gsoc2013-epiphany-fd23fbade3ef2c5490f6d3e7f0a7de7c39872fff.zip
Allow ephy_history_service_find_urls() to filter host specific urls
Diffstat (limited to 'lib/history/ephy-history-service.c')
-rw-r--r--lib/history/ephy-history-service.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/history/ephy-history-service.c b/lib/history/ephy-history-service.c
index 26de9e43f..53363bc56 100644
--- a/lib/history/ephy-history-service.c
+++ b/lib/history/ephy-history-service.c
@@ -844,7 +844,7 @@ ephy_history_service_process_message (EphyHistoryService *self,
void
ephy_history_service_find_urls (EphyHistoryService *self,
gint64 from, gint64 to,
- guint limit,
+ guint limit, gint host,
GList *substring_list,
EphyHistoryJobCallback callback,
gpointer user_data)
@@ -858,6 +858,7 @@ ephy_history_service_find_urls (EphyHistoryService *self,
query->to = to;
query->substring_list = substring_list;
query->sort_type = EPHY_HISTORY_SORT_MV;
+ query->host = host;
if (limit != 0)
query->limit = limit;