aboutsummaryrefslogtreecommitdiffstats
path: root/src/bookmarks/ephy-bookmarks-editor.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bookmarks/ephy-bookmarks-editor.c')
-rw-r--r--src/bookmarks/ephy-bookmarks-editor.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/bookmarks/ephy-bookmarks-editor.c b/src/bookmarks/ephy-bookmarks-editor.c
index 221ab9aeb..8ffd89dcb 100644
--- a/src/bookmarks/ephy-bookmarks-editor.c
+++ b/src/bookmarks/ephy-bookmarks-editor.c
@@ -291,11 +291,7 @@ get_target_window (EphyBookmarksEditor *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));
}
}