aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/mozilla-download.cpp
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@gnome.org>2004-04-27 17:07:36 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2004-04-27 17:07:36 +0800
commit6fadfbe07379b55695a43687c6b7d935bff80133 (patch)
tree0e9c207847091df0505b4e08caca7e0d899f2a31 /embed/mozilla/mozilla-download.cpp
parente88e7018c298131a4024415d0a2dbff9b7046960 (diff)
downloadgsoc2013-epiphany-6fadfbe07379b55695a43687c6b7d935bff80133.tar
gsoc2013-epiphany-6fadfbe07379b55695a43687c6b7d935bff80133.tar.gz
gsoc2013-epiphany-6fadfbe07379b55695a43687c6b7d935bff80133.tar.bz2
gsoc2013-epiphany-6fadfbe07379b55695a43687c6b7d935bff80133.tar.lz
gsoc2013-epiphany-6fadfbe07379b55695a43687c6b7d935bff80133.tar.xz
gsoc2013-epiphany-6fadfbe07379b55695a43687c6b7d935bff80133.tar.zst
gsoc2013-epiphany-6fadfbe07379b55695a43687c6b7d935bff80133.zip
Nice mess of defines to support 1.8a. Damn.
2004-04-27 Marco Pesenti Gritti <marco@gnome.org> * configure.in: * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EventContext.h: * embed/mozilla/FilePicker.cpp: * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: * embed/mozilla/mozilla-download.cpp: * embed/mozilla/mozilla-embed-persist.cpp: Nice mess of defines to support 1.8a. Damn.
Diffstat (limited to 'embed/mozilla/mozilla-download.cpp')
-rw-r--r--embed/mozilla/mozilla-download.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/embed/mozilla/mozilla-download.cpp b/embed/mozilla/mozilla-download.cpp
index 136d05491..455c875a1 100644
--- a/embed/mozilla/mozilla-download.cpp
+++ b/embed/mozilla/mozilla-download.cpp
@@ -87,7 +87,11 @@ impl_get_target (EphyDownload *download)
mozDownload = MOZILLA_DOWNLOAD (download)->priv->moz_download;
+#if MOZILLA_SNAPSHOT < 16
mozDownload->GetTarget (getter_AddRefs (targetFile));
+#else
+ mozDownload->GetTargetFile (getter_AddRefs (targetFile));
+#endif
nsCAutoString tempPathStr;
targetFile->GetNativePath (tempPathStr);