[epiphany/history-rewrite-second] Add a host parameter to EphyHistoryQuery
- From: Claudio Saavedra <csaavedra src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/history-rewrite-second] Add a host parameter to EphyHistoryQuery
- Date: Fri, 2 Mar 2012 19:44:04 +0000 (UTC)
commit e57f872ee210d69bfc2f0c9543dea2c53d7a23b9
Author: Claudio Saavedra <csaavedra igalia com>
Date: Fri Mar 2 21:15:50 2012 +0200
Add a host parameter to EphyHistoryQuery
In order to delimit queries to specific hosts. A value of 0 means all
hosts.
lib/history/ephy-history-types.c | 1 +
lib/history/ephy-history-types.h | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/lib/history/ephy-history-types.c b/lib/history/ephy-history-types.c
index 0afd190..c003e04 100644
--- a/lib/history/ephy-history-types.c
+++ b/lib/history/ephy-history-types.c
@@ -210,6 +210,7 @@ ephy_history_query_copy (EphyHistoryQuery *query)
copy->to = query->to;
copy->limit = query->limit;
copy->sort_type = query->sort_type;
+ copy->host = query->host;
for (iter = query->substring_list; iter != NULL; iter = iter->next) {
copy->substring_list = g_list_prepend (copy->substring_list, g_strdup (iter->data));
diff --git a/lib/history/ephy-history-types.h b/lib/history/ephy-history-types.h
index 367e802..6743afd 100644
--- a/lib/history/ephy-history-types.h
+++ b/lib/history/ephy-history-types.h
@@ -83,6 +83,7 @@ typedef struct _EphyHistoryQuery
gint64 to;
guint limit;
GList* substring_list;
+ gint host;
EphyHistorySortType sort_type;
} EphyHistoryQuery;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]