aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--embed/mozilla/MozRegisterComponents.cpp4
2 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index ad80a66fe..c136d18e8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-02-07 Christian Persch <chpe@cvs.gnome.org>
+
+ * embed/mozilla/MozRegisterComponents.cpp:
+
+ Fix for mozilla API change.
+
2005-02-06 Christian Persch <chpe@cvs.gnome.org>
* data/epiphany.schemas.in:
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