aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-02-08 07:04:10 +0800
committerChristian Persch <chpe@src.gnome.org>2005-02-08 07:04:10 +0800
commit48cbe4e73febce12b9673fbd34eb712de5329f1e (patch)
tree1c1bdf0339349322c544d08bbc7a289a3ce13fda /embed
parent24ec36cab39bfdb6b136a5a5a8adf3a540f81f8c (diff)
downloadgsoc2013-epiphany-48cbe4e73febce12b9673fbd34eb712de5329f1e.tar
gsoc2013-epiphany-48cbe4e73febce12b9673fbd34eb712de5329f1e.tar.gz
gsoc2013-epiphany-48cbe4e73febce12b9673fbd34eb712de5329f1e.tar.bz2
gsoc2013-epiphany-48cbe4e73febce12b9673fbd34eb712de5329f1e.tar.lz
gsoc2013-epiphany-48cbe4e73febce12b9673fbd34eb712de5329f1e.tar.xz
gsoc2013-epiphany-48cbe4e73febce12b9673fbd34eb712de5329f1e.tar.zst
gsoc2013-epiphany-48cbe4e73febce12b9673fbd34eb712de5329f1e.zip
Fix for mozilla API change.
2005-02-07 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozRegisterComponents.cpp: Fix for mozilla API change.
Diffstat (limited to 'embed')
-rw-r--r--embed/mozilla/MozRegisterComponents.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/embed/mozilla/MozRegisterComponents.cpp b/embed/mozilla/MozRegisterComponents.cpp
index 9dba24c9b..fcc8ee93e 100644
--- a/embed/mozilla/MozRegisterComponents.cpp
+++ b/embed/mozilla/MozRegisterComponents.cpp
@@ -109,7 +109,11 @@ static const nsModuleComponentInfo sAppComps[] = {
{
MOZ_DOWNLOAD_CLASSNAME,
MOZ_DOWNLOAD_CID,
+#ifdef NS_TRANSFER_CONTRACTID
+ NS_TRANSFER_CONTRACTID,
+#else
NS_DOWNLOAD_CONTRACTID,
+#endif
MozDownloadConstructor
},
#ifdef ENABLE_FILEPICKER