[epiphany] pdm-dialog: use the new history service



commit fc92077114eb2042e0b3c750a784c37d20502535
Author: Xan Lopez <xan igalia com>
Date:   Tue Mar 6 21:59:25 2012 +0100

    pdm-dialog: use the new history service

 src/pdm-dialog.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/pdm-dialog.c b/src/pdm-dialog.c
index cb88d24..9a06c4f 100644
--- a/src/pdm-dialog.c
+++ b/src/pdm-dialog.c
@@ -34,7 +34,7 @@
 #include "ephy-time-helpers.h"
 #include "ephy-embed-single.h"
 #include "ephy-favicon-cache.h"
-#include "ephy-history.h"
+#include "ephy-history-service.h"
 #include "ephy-password-info.h"
 
 #include <gtk/gtk.h>
@@ -252,11 +252,11 @@ clear_all_dialog_response_cb (GtkDialog *dialog,
 			(GTK_TOGGLE_BUTTON (checkbuttons->checkbutton_history)))
 		{
 			EphyEmbedShell *shell;
-			EphyHistory *history;
+			EphyHistoryService *history;
 
 			shell = ephy_embed_shell_get_default ();
-			history = EPHY_HISTORY (ephy_embed_shell_get_global_history (shell));
-			ephy_history_clear (history);
+			history = EPHY_HISTORY_SERVICE (ephy_embed_shell_get_global_history_service (shell));
+			ephy_history_service_clear (history, NULL, NULL);
 		}
 		if (gtk_toggle_button_get_active
 			(GTK_TOGGLE_BUTTON (checkbuttons->checkbutton_cookies)))



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]