aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-history-window.c
diff options
context:
space:
mode:
authorClaudio Saavedra <csaavedra@igalia.com>2011-08-29 17:22:17 +0800
committerXan Lopez <xan@igalia.com>2012-03-07 04:49:46 +0800
commit55505414d65ebe71a7f82d68472ed69fdb2a8f51 (patch)
tree5a6412b850cb00b28c7152c4b60def86e392034d /src/ephy-history-window.c
parenta6bc39ed6369c703cc4d5d8e35d91bb5d4aa48c6 (diff)
downloadgsoc2013-epiphany-55505414d65ebe71a7f82d68472ed69fdb2a8f51.tar
gsoc2013-epiphany-55505414d65ebe71a7f82d68472ed69fdb2a8f51.tar.gz
gsoc2013-epiphany-55505414d65ebe71a7f82d68472ed69fdb2a8f51.tar.bz2
gsoc2013-epiphany-55505414d65ebe71a7f82d68472ed69fdb2a8f51.tar.lz
gsoc2013-epiphany-55505414d65ebe71a7f82d68472ed69fdb2a8f51.tar.xz
gsoc2013-epiphany-55505414d65ebe71a7f82d68472ed69fdb2a8f51.tar.zst
gsoc2013-epiphany-55505414d65ebe71a7f82d68472ed69fdb2a8f51.zip
Set the history service during history window instantiation
The old history object is kept for now but it will be removed later
Diffstat (limited to 'src/ephy-history-window.c')
-rw-r--r--src/ephy-history-window.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ephy-history-window.c b/src/ephy-history-window.c
index 5c4b4efe1..7074dd770 100644
--- a/src/ephy-history-window.c
+++ b/src/ephy-history-window.c
@@ -1341,7 +1341,8 @@ ephy_history_window_set_parent (EphyHistoryWindow *ebe,
}
GtkWidget *
-ephy_history_window_new (EphyHistory *history)
+ephy_history_window_new (EphyHistory *history,
+ EphyHistoryService *history_service)
{
EphyHistoryWindow *editor;
@@ -1350,6 +1351,7 @@ ephy_history_window_new (EphyHistory *history)
editor = EPHY_HISTORY_WINDOW (g_object_new
(EPHY_TYPE_HISTORY_WINDOW,
"history", history,
+ "history-service", history_service,
NULL));
ephy_history_window_construct (editor);