aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bookmarks/ephy-bookmarks-editor.c5
-rw-r--r--src/ephy-history-window.c3
2 files changed, 1 insertions, 7 deletions
diff --git a/src/bookmarks/ephy-bookmarks-editor.c b/src/bookmarks/ephy-bookmarks-editor.c
index 745da8571..f1260656c 100644
--- a/src/bookmarks/ephy-bookmarks-editor.c
+++ b/src/bookmarks/ephy-bookmarks-editor.c
@@ -800,15 +800,12 @@ ephy_bookmarks_editor_node_activated_cb (GtkWidget *view,
EphyBookmarksEditor *editor)
{
const char *location;
- EphyWindow *window;
location = ephy_node_get_property_string
(node, EPHY_NODE_BMK_PROP_LOCATION);
g_return_if_fail (location != NULL);
- window = EPHY_WINDOW (get_target_window (editor));
-
- ephy_shell_new_tab (ephy_shell, window, NULL, location,
+ ephy_shell_new_tab (ephy_shell, NULL, NULL, location,
EPHY_NEW_TAB_OPEN_PAGE);
}
diff --git a/src/ephy-history-window.c b/src/ephy-history-window.c
index 8ce8e0281..7b9c09f5b 100644
--- a/src/ephy-history-window.c
+++ b/src/ephy-history-window.c
@@ -596,14 +596,11 @@ ephy_history_window_node_activated_cb (GtkWidget *view,
EphyHistoryWindow *editor)
{
const char *location;
- EphyWindow *window;
location = ephy_node_get_property_string
(node, EPHY_NODE_PAGE_PROP_LOCATION);
g_return_if_fail (location != NULL);
- window = EPHY_WINDOW (get_target_window (editor));
-
ephy_shell_new_tab (ephy_shell, NULL, NULL, location,
EPHY_NEW_TAB_OPEN_PAGE);
}