aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@src.gnome.org>2003-09-25 22:55:14 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2003-09-25 22:55:14 +0800
commit2dfcaae29d711915fb58f38ac76ba518f701c9af (patch)
tree833f6163c9386cce9186e2793da336c408bd4371 /src
parent55b40647e65439d69831862ef98a25f039111325 (diff)
downloadgsoc2013-epiphany-2dfcaae29d711915fb58f38ac76ba518f701c9af.tar
gsoc2013-epiphany-2dfcaae29d711915fb58f38ac76ba518f701c9af.tar.gz
gsoc2013-epiphany-2dfcaae29d711915fb58f38ac76ba518f701c9af.tar.bz2
gsoc2013-epiphany-2dfcaae29d711915fb58f38ac76ba518f701c9af.tar.lz
gsoc2013-epiphany-2dfcaae29d711915fb58f38ac76ba518f701c9af.tar.xz
gsoc2013-epiphany-2dfcaae29d711915fb58f38ac76ba518f701c9af.tar.zst
gsoc2013-epiphany-2dfcaae29d711915fb58f38ac76ba518f701c9af.zip
*** empty log message ***
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);
}