aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/mozilla-embed-single.cpp
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-06-07 19:54:41 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-06-07 19:54:41 +0800
commit1b57d44cfe8ed36a245f6a31961ec67d31529262 (patch)
treeaa3819a64f9efed3649fc6d0bdeb6e08652e940a /embed/mozilla/mozilla-embed-single.cpp
parentec3068c56f7af999038247a4ec03be3db810a33f (diff)
downloadgsoc2013-epiphany-1b57d44cfe8ed36a245f6a31961ec67d31529262.tar
gsoc2013-epiphany-1b57d44cfe8ed36a245f6a31961ec67d31529262.tar.gz
gsoc2013-epiphany-1b57d44cfe8ed36a245f6a31961ec67d31529262.tar.bz2
gsoc2013-epiphany-1b57d44cfe8ed36a245f6a31961ec67d31529262.tar.lz
gsoc2013-epiphany-1b57d44cfe8ed36a245f6a31961ec67d31529262.tar.xz
gsoc2013-epiphany-1b57d44cfe8ed36a245f6a31961ec67d31529262.tar.zst
gsoc2013-epiphany-1b57d44cfe8ed36a245f6a31961ec67d31529262.zip
Remove memory cache prefs/ui, now mozilla can deal with it automagically.
2003-06-07 Marco Pesenti Gritti <marco@it.gnome.org> * data/epiphany.schemas.in: * data/glade/prefs-dialog.glade: * embed/ephy-embed-prefs.h: * embed/ephy-embed-single.c: (ephy_embed_single_clear_cache): * embed/ephy-embed-single.h: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-notifiers.cpp: * src/bookmarks/ephy-bookmarks-import.c: (mozilla_parse_bookmarks), (xbel_parse_folder): * src/prefs-dialog.c: (prefs_clear_cache_button_clicked_cb): Remove memory cache prefs/ui, now mozilla can deal with it automagically. Rename Appeareance tab to be less generic. Do not convert spaces to _ on bookmarks importing.
Diffstat (limited to 'embed/mozilla/mozilla-embed-single.cpp')
-rw-r--r--embed/mozilla/mozilla-embed-single.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/embed/mozilla/mozilla-embed-single.cpp b/embed/mozilla/mozilla-embed-single.cpp
index dc5540302..808d61f24 100644
--- a/embed/mozilla/mozilla-embed-single.cpp
+++ b/embed/mozilla/mozilla-embed-single.cpp
@@ -203,8 +203,7 @@ static void
mozilla_embed_single_finalize (GObject *object);
static gresult
-impl_clear_cache (EphyEmbedSingle *shell,
- CacheType type);
+impl_clear_cache (EphyEmbedSingle *shell);
static gresult
impl_set_offline_mode (EphyEmbedSingle *shell,
gboolean offline);
@@ -651,8 +650,7 @@ mozilla_embed_single_finalize (GObject *object)
}
static gresult
-impl_clear_cache (EphyEmbedSingle *shell,
- CacheType type)
+impl_clear_cache (EphyEmbedSingle *shell)
{
nsresult rv;
@@ -660,7 +658,7 @@ impl_clear_cache (EphyEmbedSingle *shell,
do_GetService (NS_CACHESERVICE_CONTRACTID, &rv);
if (NS_FAILED(rv)) return G_FAILED;
- CacheService->EvictEntries((guint)type);
+ CacheService->EvictEntries (nsICache::STORE_ANYWHERE);
return G_OK;
}