aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-shell.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-shell.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-shell.c')
-rw-r--r--src/ephy-shell.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ephy-shell.c b/src/ephy-shell.c
index 68da6cdf8..c9c575f91 100644
--- a/src/ephy-shell.c
+++ b/src/ephy-shell.c
@@ -1030,12 +1030,16 @@ GtkWidget *
ephy_shell_get_history_window (EphyShell *shell)
{
EphyHistory *history;
+ EphyHistoryService *service;
if (shell->priv->history_window == NULL) {
history = EPHY_HISTORY
(ephy_embed_shell_get_global_history (embed_shell));
+ service = EPHY_HISTORY_SERVICE
+ (ephy_embed_shell_get_global_history_service (embed_shell));
g_assert (history != NULL);
- shell->priv->history_window = ephy_history_window_new (history);
+ shell->priv->history_window = ephy_history_window_new (history,
+ service);
g_signal_connect (shell->priv->history_window, "show",
G_CALLBACK (toolwindow_show_cb), shell);