diff options
author | marcus <marcus@FreeBSD.org> | 2003-05-16 22:02:15 +0000 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2003-05-16 22:02:15 +0000 |
commit | e6af296e789153a0359d7f231f1df1fe96064680 (patch) | |
tree | 667e7fd710359e4f2ef74e0466f5fb87343f3b32 /www/galeon/files | |
parent | fc0a45df0032289eb9fcb55ed421f2b9332ceb74 (diff) | |
download | FreeBSD-ports-e6af296e789153a0359d7f231f1df1fe96064680.zip FreeBSD-ports-e6af296e789153a0359d7f231f1df1fe96064680.tar.gz |
Update for Mozilla 1.4b.
Diffstat (limited to 'www/galeon/files')
-rw-r--r-- | www/galeon/files/patch-src_mozilla_GaleonWrapper.cpp | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/www/galeon/files/patch-src_mozilla_GaleonWrapper.cpp b/www/galeon/files/patch-src_mozilla_GaleonWrapper.cpp new file mode 100644 index 0000000..e086452 --- /dev/null +++ b/www/galeon/files/patch-src_mozilla_GaleonWrapper.cpp @@ -0,0 +1,26 @@ +--- src/mozilla/GaleonWrapper.cpp.orig Fri Apr 11 17:57:19 2003 ++++ src/mozilla/GaleonWrapper.cpp Fri May 16 17:52:46 2003 +@@ -70,7 +70,11 @@ + #include "nsIDocumentObserver.h" + #include "nsCWebBrowser.h" + #include "nsReadableUtils.h" ++#if MOZILLA_SNAPSHOT > 7 ++#include "nsIDOMNSDocument.h" ++#else + #include "nsIDOMNSHTMLDocument.h" ++#endif + #include "nsIDOMHTMLDocument.h" + #include "nsIDOMHTMLCollection.h" + #include "nsIDOMHTMLElement.h" +@@ -1290,7 +1294,11 @@ + result = GetDOMDocument (getter_AddRefs(aDOMDocument)); + if (NS_FAILED(result) || !aDOMDocument) return NS_ERROR_FAILURE; + ++#if MOZILLA_SNAPSHOT > 7 ++ nsCOMPtr<nsIDOMNSDocument> doc = do_QueryInterface(aDOMDocument); ++#else + nsCOMPtr<nsIDOMNSHTMLDocument> doc = do_QueryInterface(aDOMDocument); ++#endif + if(!doc) return NS_ERROR_FAILURE; + + nsAutoString value; |