aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog9
-rw-r--r--src/bookmarks/ephy-bookmarks-editor.c5
-rw-r--r--src/ephy-history-window.c3
3 files changed, 10 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index 801e0304b..7bdf29333 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
2003-09-25 Marco Pesenti Gritti <marco@gnome.org>
+ * src/bookmarks/ephy-bookmarks-editor.c:
+ (ephy_bookmarks_editor_node_activated_cb):
+ * src/ephy-history-window.c:
+ (ephy_history_window_node_activated_cb):
+
+ Drop unused code.
+
+2003-09-25 Marco Pesenti Gritti <marco@gnome.org>
+
* data/glade/epiphany.glade:
* src/ephy-history-window.c: (confirmation_dialog_construct):
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);
}