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.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/ephy-history-window.c b/src/ephy-history-window.c
index 115cb3ac0..a013905d2 100644
--- a/src/ephy-history-window.c
+++ b/src/ephy-history-window.c
@@ -53,7 +53,7 @@
#include "toolbar.h"
#include "ephy-stock-icons.h"
#include "ephy-search-entry.h"
-#include "session.h"
+#include "ephy-session.h"
#include "ephy-favicon-cache.h"
#include "eel-gconf-extensions.h"
@@ -353,7 +353,10 @@ get_target_window (EphyHistoryWindow *editor)
}
else
{
- return GTK_WIDGET (ephy_shell_get_active_window (ephy_shell));
+ EphySession *session;
+
+ session = EPHY_SESSION (ephy_shell_get_session (ephy_shell));
+ return GTK_WIDGET (ephy_session_get_active_window (session));
}
}