From 9fb6164dd427630f8e72d69113c48a78dd449bc8 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Tue, 24 Feb 2004 23:44:58 +0000 Subject: Make max size property use long / bytes. 2004-02-25 Marco Pesenti Gritti * embed/ephy-embed-persist.c: (ephy_embed_persist_set_max_size), (ephy_embed_persist_set_property), (ephy_embed_persist_get_property), (ephy_embed_persist_init), (ephy_embed_persist_class_init): * embed/ephy-embed-persist.h: Make max size property use long / bytes. * embed/ephy-favicon-cache.c: (ephy_favicon_cache_download): Correct to use bytes. * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: * embed/mozilla/mozilla-embed-persist.cpp: Actually respect the max_size property. --- embed/ephy-favicon-cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'embed/ephy-favicon-cache.c') diff --git a/embed/ephy-favicon-cache.c b/embed/ephy-favicon-cache.c index c83471dee..4aae929a6 100644 --- a/embed/ephy-favicon-cache.c +++ b/embed/ephy-favicon-cache.c @@ -356,7 +356,7 @@ ephy_favicon_cache_download (EphyFaviconCache *cache, ephy_embed_persist_set_dest (persist, dest); ephy_embed_persist_set_flags (persist, EMBED_PERSIST_NO_VIEW); - ephy_embed_persist_set_max_size (persist, 100); + ephy_embed_persist_set_max_size (persist, 100 * 1024); ephy_embed_persist_set_source (persist, favicon_url); g_free (dest); -- cgit v1.2.3