aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@gnome.org>2003-09-16 02:30:43 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2003-09-16 02:30:43 +0800
commit8cc2b9441ae35833ad05377cb92469f14374cd15 (patch)
tree8b0a196c4d58e29469ed673e988142942b3321f9 /embed
parentd43984a0af4ece0a769c036f9375547aa5b57b3d (diff)
downloadgsoc2013-epiphany-8cc2b9441ae35833ad05377cb92469f14374cd15.tar
gsoc2013-epiphany-8cc2b9441ae35833ad05377cb92469f14374cd15.tar.gz
gsoc2013-epiphany-8cc2b9441ae35833ad05377cb92469f14374cd15.tar.bz2
gsoc2013-epiphany-8cc2b9441ae35833ad05377cb92469f14374cd15.tar.lz
gsoc2013-epiphany-8cc2b9441ae35833ad05377cb92469f14374cd15.tar.xz
gsoc2013-epiphany-8cc2b9441ae35833ad05377cb92469f14374cd15.tar.zst
gsoc2013-epiphany-8cc2b9441ae35833ad05377cb92469f14374cd15.zip
Add support for mozilla 1.4.1.
2003-09-15 Marco Pesenti Gritti <marco@gnome.org> * configure.in: * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyWrapper.cpp: * embed/mozilla/EventContext.cpp: * embed/mozilla/mozilla-embed-single.cpp: Add support for mozilla 1.4.1.
Diffstat (limited to 'embed')
-rw-r--r--embed/mozilla/ContentHandler.cpp6
-rw-r--r--embed/mozilla/EphyWrapper.cpp2
-rw-r--r--embed/mozilla/EventContext.cpp2
-rw-r--r--embed/mozilla/mozilla-embed-single.cpp2
4 files changed, 6 insertions, 6 deletions
diff --git a/embed/mozilla/ContentHandler.cpp b/embed/mozilla/ContentHandler.cpp
index b020ee5d0..12724907c 100644
--- a/embed/mozilla/ContentHandler.cpp
+++ b/embed/mozilla/ContentHandler.cpp
@@ -246,7 +246,7 @@ GContentHandler::~GContentHandler()
// begin nsIHelperAppLauncher impl
////////////////////////////////////////////////////////////////////////////////
-#if MOZILLA_SNAPSHOT > 8
+#if MOZILLA_SNAPSHOT > 9
/* void show (in nsIHelperAppLauncher aLauncher, in nsISupports aContext); */
NS_IMETHODIMP GContentHandler::Show(nsIHelperAppLauncher *aLauncher,
nsISupports *aContext,
@@ -273,7 +273,7 @@ NS_IMETHODIMP GContentHandler::Show(nsIHelperAppLauncher *aLauncher,
/* nsILocalFile promptForSaveToFile (in nsISupports aWindowContext, in wstring aDefaultFile, in wstring aSuggestedFileExtension); */
NS_IMETHODIMP GContentHandler::PromptForSaveToFile(
-#if MOZILLA_SNAPSHOT > 9
+#if MOZILLA_SNAPSHOT > 10
nsIHelperAppLauncher *aLauncher,
#endif
nsISupports *aWindowContext,
@@ -343,7 +343,7 @@ NS_IMETHODIMP GContentHandler::PromptForSaveToFile(
}
}
-#if MOZILLA_SNAPSHOT < 9
+#if MOZILLA_SNAPSHOT < 10
/* void showProgressDialog (in nsIHelperAppLauncher aLauncher, in nsISupports aContext); */
NS_METHOD GContentHandler::ShowProgressDialog(nsIHelperAppLauncher *aLauncher,
nsISupports *aContext)
diff --git a/embed/mozilla/EphyWrapper.cpp b/embed/mozilla/EphyWrapper.cpp
index 72ec50323..e9805bb7b 100644
--- a/embed/mozilla/EphyWrapper.cpp
+++ b/embed/mozilla/EphyWrapper.cpp
@@ -685,7 +685,7 @@ nsresult EphyWrapper::ForceEncoding (const char *encoding)
&result);
if (NS_FAILED(result) || !mdv) return NS_ERROR_FAILURE;
-#if MOZILLA_SNAPSHOT > 8
+#if MOZILLA_SNAPSHOT > 9
result = mdv->SetForceCharacterSet (nsDependentCString(encoding));
#else
result = mdv->SetForceCharacterSet (NS_ConvertUTF8toUCS2(encoding).get());
diff --git a/embed/mozilla/EventContext.cpp b/embed/mozilla/EventContext.cpp
index 7c30839d0..50539a8d7 100644
--- a/embed/mozilla/EventContext.cpp
+++ b/embed/mozilla/EventContext.cpp
@@ -140,7 +140,7 @@ nsresult EventContext::ResolveBaseURL (nsIDocument *doc, const nsAString &relurl
{
nsresult rv;
nsCOMPtr<nsIURI> base;
-#if MOZILLA_SNAPSHOT > 8
+#if MOZILLA_SNAPSHOT > 9
rv = doc->GetBaseURL (getter_AddRefs(base));
#else
rv = doc->GetBaseURL (*getter_AddRefs(base));
diff --git a/embed/mozilla/mozilla-embed-single.cpp b/embed/mozilla/mozilla-embed-single.cpp
index c7b0aa246..9830c236c 100644
--- a/embed/mozilla/mozilla-embed-single.cpp
+++ b/embed/mozilla/mozilla-embed-single.cpp
@@ -177,7 +177,7 @@ encodings[] =
{ N_("R_omanian (ISO-8859-16)"), "ISO-8859-16", LG_OTHER },
{ N_("South _European (ISO-8859-3)"), "ISO-8859-3", LG_OTHER },
{ N_("Thai (TIS-_620)"), "TIS-620", LG_OTHER },
-#if MOZILLA_SNAPSHOT >= 9
+#if MOZILLA_SNAPSHOT >= 10
{ N_("Thai (IS_O-8859-11)"), "iso-8859-11", LG_OTHER },
{ N_("_Thai (Windows-874)"), "windows-874", LG_OTHER },
#endif