aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-shell.c
diff options
context:
space:
mode:
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);