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.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/ephy-history-window.c b/src/ephy-history-window.c
index 8db577231..22e1d3b68 100644
--- a/src/ephy-history-window.c
+++ b/src/ephy-history-window.c
@@ -223,25 +223,11 @@ static void
confirmation_dialog_response_cb (GtkDialog *dialog, gint response,
EphyHistoryWindow *editor)
{
- const GList *windows;
- Session *session;
-
gtk_widget_destroy (GTK_WIDGET (dialog));
if (response != GTK_RESPONSE_OK)
return;
- session = EPHY_SESSION (ephy_shell_get_session (ephy_shell));
- windows = session_get_windows (session);
-
- for (; windows != NULL; windows = windows->next)
- {
- Toolbar *t;
-
- t = ephy_window_get_toolbar (EPHY_WINDOW (windows->data));
- toolbar_clear_location_history (t);
- }
-
ephy_history_clear (editor->priv->history);
}