aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2012-03-07 04:59:25 +0800
committerXan Lopez <xan@igalia.com>2012-03-07 04:59:25 +0800
commitfc92077114eb2042e0b3c750a784c37d20502535 (patch)
tree06df58787d62e2151e0439bd82048ed377cbf902 /src
parentcdf6e25ed2b73fab13c703a06aa85a99d261a1c4 (diff)
downloadgsoc2013-epiphany-fc92077114eb2042e0b3c750a784c37d20502535.tar
gsoc2013-epiphany-fc92077114eb2042e0b3c750a784c37d20502535.tar.gz
gsoc2013-epiphany-fc92077114eb2042e0b3c750a784c37d20502535.tar.bz2
gsoc2013-epiphany-fc92077114eb2042e0b3c750a784c37d20502535.tar.lz
gsoc2013-epiphany-fc92077114eb2042e0b3c750a784c37d20502535.tar.xz
gsoc2013-epiphany-fc92077114eb2042e0b3c750a784c37d20502535.tar.zst
gsoc2013-epiphany-fc92077114eb2042e0b3c750a784c37d20502535.zip
pdm-dialog: use the new history service
Diffstat (limited to 'src')
-rw-r--r--src/pdm-dialog.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pdm-dialog.c b/src/pdm-dialog.c
index cb88d2484..9a06c4ff4 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)))