diff options
author | Xan Lopez <xan@igalia.com> | 2013-03-21 20:31:03 +0800 |
---|---|---|
committer | Xan Lopez <xan@igalia.com> | 2013-03-21 20:31:03 +0800 |
commit | 6f0c6b15e006dc4ad85b2ea5e3b688164d335de1 (patch) | |
tree | e72e9e0de474cb89f3445bc1c1a24a3d490b66fa /src | |
parent | 67eff917589e8b6e7add001e7b3e910e3ea25cce (diff) | |
download | gsoc2013-epiphany-6f0c6b15e006dc4ad85b2ea5e3b688164d335de1.tar gsoc2013-epiphany-6f0c6b15e006dc4ad85b2ea5e3b688164d335de1.tar.gz gsoc2013-epiphany-6f0c6b15e006dc4ad85b2ea5e3b688164d335de1.tar.bz2 gsoc2013-epiphany-6f0c6b15e006dc4ad85b2ea5e3b688164d335de1.tar.lz gsoc2013-epiphany-6f0c6b15e006dc4ad85b2ea5e3b688164d335de1.tar.xz gsoc2013-epiphany-6f0c6b15e006dc4ad85b2ea5e3b688164d335de1.tar.zst gsoc2013-epiphany-6f0c6b15e006dc4ad85b2ea5e3b688164d335de1.zip |
Move the clear cache method to EphyEmbedShell
EphyEmbedSingle is almost dead!
Diffstat (limited to 'src')
-rw-r--r-- | src/pdm-dialog.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/pdm-dialog.c b/src/pdm-dialog.c index 33a5c46a8..d6a3279e6 100644 --- a/src/pdm-dialog.c +++ b/src/pdm-dialog.c @@ -31,7 +31,7 @@ #include "ephy-string.h" #include "ephy-debug.h" #include "ephy-time-helpers.h" -#include "ephy-embed-single.h" +#include "ephy-embed-shell.h" #include "ephy-history-service.h" #include <gtk/gtk.h> @@ -276,14 +276,11 @@ clear_all_dialog_response_cb (GtkDialog *dialog, (GTK_TOGGLE_BUTTON (checkbuttons->checkbutton_cache))) { EphyEmbedShell *shell; - EphyEmbedSingle *single; WebKitFaviconDatabase *database; shell = ephy_embed_shell_get_default (); - single = EPHY_EMBED_SINGLE (ephy_embed_shell_get_embed_single (shell)); - - ephy_embed_single_clear_cache (single); + ephy_embed_shell_clear_cache (shell); #ifdef HAVE_WEBKIT2 database = webkit_web_context_get_favicon_database (webkit_web_context_get_default ()); |