diff options
author | Marco Pesenti Gritti <marco@gnome.org> | 2004-02-25 07:44:58 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <marco@src.gnome.org> | 2004-02-25 07:44:58 +0800 |
commit | 9fb6164dd427630f8e72d69113c48a78dd449bc8 (patch) | |
tree | bb8614a2c6a04bbcb05be59c1ed525abc77d9f83 /embed/mozilla/mozilla-embed-persist.cpp | |
parent | d055989e9fc45f0849de45ec00e02802e6769dc0 (diff) | |
download | gsoc2013-epiphany-9fb6164dd427630f8e72d69113c48a78dd449bc8.tar gsoc2013-epiphany-9fb6164dd427630f8e72d69113c48a78dd449bc8.tar.gz gsoc2013-epiphany-9fb6164dd427630f8e72d69113c48a78dd449bc8.tar.bz2 gsoc2013-epiphany-9fb6164dd427630f8e72d69113c48a78dd449bc8.tar.lz gsoc2013-epiphany-9fb6164dd427630f8e72d69113c48a78dd449bc8.tar.xz gsoc2013-epiphany-9fb6164dd427630f8e72d69113c48a78dd449bc8.tar.zst gsoc2013-epiphany-9fb6164dd427630f8e72d69113c48a78dd449bc8.zip |
Make max size property use long / bytes.
2004-02-25 Marco Pesenti Gritti <marco@gnome.org>
* 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.
Diffstat (limited to 'embed/mozilla/mozilla-embed-persist.cpp')
-rw-r--r-- | embed/mozilla/mozilla-embed-persist.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/embed/mozilla/mozilla-embed-persist.cpp b/embed/mozilla/mozilla-embed-persist.cpp index 7de40e6d3..5828a92ae 100644 --- a/embed/mozilla/mozilla-embed-persist.cpp +++ b/embed/mozilla/mozilla-embed-persist.cpp @@ -133,7 +133,7 @@ impl_save (EphyEmbedPersist *persist) nsresult rv; char *filename; char *uri; - int max_size; + long max_size; EphyEmbed *embed; EmbedPersistFlags flags; PRUint32 persistFlags = 0; @@ -257,7 +257,7 @@ impl_save (EphyEmbedPersist *persist) rv = InitiateMozillaDownload (DOMDocument, inURI, destFile, nsnull, inURI, MOZILLA_EMBED_PERSIST (persist), - postData, pageDescriptor); + postData, pageDescriptor, max_size); if (NS_FAILED (rv)) return FALSE; } |