aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-history-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ephy-history-window.c')
-rw-r--r--src/ephy-history-window.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/ephy-history-window.c b/src/ephy-history-window.c
index 8b03b69b8..a344060ab 100644
--- a/src/ephy-history-window.c
+++ b/src/ephy-history-window.c
@@ -304,10 +304,7 @@ get_target_window (EphyHistoryWindow *editor)
}
else
{
- EphySession *session;
-
- session = EPHY_SESSION (ephy_shell_get_session (ephy_shell));
- return GTK_WIDGET (ephy_session_get_active_window (session));
+ return GTK_WIDGET (ephy_shell_get_active_window (ephy_shell));
}
}