aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-shell.c
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2012-03-07 04:22:54 +0800
committerXan Lopez <xan@igalia.com>2012-03-07 04:49:47 +0800
commit7c981b48b6e357d4dcf68cbe3eafec90d92ad1b0 (patch)
tree69ce5f8e4b53d0adb384a120ffafae8522f70ef1 /src/ephy-shell.c
parent8cc5c6df39c67e756d2cdc2aabeceb1928808187 (diff)
downloadgsoc2013-epiphany-7c981b48b6e357d4dcf68cbe3eafec90d92ad1b0.tar
gsoc2013-epiphany-7c981b48b6e357d4dcf68cbe3eafec90d92ad1b0.tar.gz
gsoc2013-epiphany-7c981b48b6e357d4dcf68cbe3eafec90d92ad1b0.tar.bz2
gsoc2013-epiphany-7c981b48b6e357d4dcf68cbe3eafec90d92ad1b0.tar.lz
gsoc2013-epiphany-7c981b48b6e357d4dcf68cbe3eafec90d92ad1b0.tar.xz
gsoc2013-epiphany-7c981b48b6e357d4dcf68cbe3eafec90d92ad1b0.tar.zst
gsoc2013-epiphany-7c981b48b6e357d4dcf68cbe3eafec90d92ad1b0.zip
ephy-history-view: use the new hosts and urls views
Diffstat (limited to 'src/ephy-shell.c')
-rw-r--r--src/ephy-shell.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/ephy-shell.c b/src/ephy-shell.c
index c9c575f91..a6648a356 100644
--- a/src/ephy-shell.c
+++ b/src/ephy-shell.c
@@ -1029,17 +1029,12 @@ ephy_shell_get_bookmarks_editor (EphyShell *shell)
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,
- service);
+ shell->priv->history_window = ephy_history_window_new (service);
g_signal_connect (shell->priv->history_window, "show",
G_CALLBACK (toolwindow_show_cb), shell);