aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/MozRegisterComponents.cpp
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-02-12 23:57:47 +0800
committerChristian Persch <chpe@src.gnome.org>2004-02-12 23:57:47 +0800
commit7aa2a5fe7359080ede030b353f951942efae9b2d (patch)
treeddbb2f609d17f2c7ba6b536087c783c51e05cd03 /embed/mozilla/MozRegisterComponents.cpp
parentb19e63aed65b23a62025270f3e696ecb699cf82d (diff)
downloadgsoc2013-epiphany-7aa2a5fe7359080ede030b353f951942efae9b2d.tar
gsoc2013-epiphany-7aa2a5fe7359080ede030b353f951942efae9b2d.tar.gz
gsoc2013-epiphany-7aa2a5fe7359080ede030b353f951942efae9b2d.tar.bz2
gsoc2013-epiphany-7aa2a5fe7359080ede030b353f951942efae9b2d.tar.lz
gsoc2013-epiphany-7aa2a5fe7359080ede030b353f951942efae9b2d.tar.xz
gsoc2013-epiphany-7aa2a5fe7359080ede030b353f951942efae9b2d.tar.zst
gsoc2013-epiphany-7aa2a5fe7359080ede030b353f951942efae9b2d.zip
Adapt to the ever-changing mozilla APIs.
2004-02-12 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/GlobalHistory.cpp: * embed/mozilla/GlobalHistory.h: * embed/mozilla/MozRegisterComponents.cpp: Adapt to the ever-changing mozilla APIs.
Diffstat (limited to 'embed/mozilla/MozRegisterComponents.cpp')
-rw-r--r--embed/mozilla/MozRegisterComponents.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/embed/mozilla/MozRegisterComponents.cpp b/embed/mozilla/MozRegisterComponents.cpp
index 6168c82e5..692fc1710 100644
--- a/embed/mozilla/MozRegisterComponents.cpp
+++ b/embed/mozilla/MozRegisterComponents.cpp
@@ -39,11 +39,17 @@
#include "GtkNSSKeyPairDialogs.h"
#endif
+#if MOZILLA_SNAPSHOT > 13
+#include <nsDocShellCID.h>
+#endif
#include <nsIGenericFactory.h>
#include <nsIComponentRegistrar.h>
#include <nsCOMPtr.h>
#include <nsILocalFile.h>
#include <nsNetCID.h>
+#if MOZILLA_SNAPSHOT > 13
+#include <nsDocShellCID.h>
+#endif
#include <glib.h>
@@ -125,7 +131,11 @@ static const nsModuleComponentInfo sAppComps[] = {
{
EPHY_GLOBALHISTORY_CLASSNAME,
EPHY_GLOBALHISTORY_CID,
+#if MOZILLA_SNAPSHOT > 13
+ NS_GLOBALHISTORY2_CONTRACTID,
+#else
NS_GLOBALHISTORY_CONTRACTID,
+#endif
MozGlobalHistoryConstructor
},
{