summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-02-06 20:38:33 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-02-06 20:38:33 +0000
commit299caf74901dd0b5aac5e88d87b787c40def8ddf (patch)
treeeaed088fd7c8e021c177147a4630aeec4bdf8bab
parentRemove dead site (diff)
Fix build with mozilla-devel.
Reported by: Andrew J Caines <A.J.Caines@halplant.com>
Notes
Notes: svn path=/head/; revision=74990
-rw-r--r--www/galeon/files/patch-src_mozilla_GaleonWrapper.cpp25
1 files changed, 23 insertions, 2 deletions
diff --git a/www/galeon/files/patch-src_mozilla_GaleonWrapper.cpp b/www/galeon/files/patch-src_mozilla_GaleonWrapper.cpp
index bf0495a874b2..b0f7fba45285 100644
--- a/www/galeon/files/patch-src_mozilla_GaleonWrapper.cpp
+++ b/www/galeon/files/patch-src_mozilla_GaleonWrapper.cpp
@@ -1,5 +1,5 @@
---- src/mozilla/GaleonWrapper.cpp.orig Thu Jan 2 13:55:14 2003
-+++ src/mozilla/GaleonWrapper.cpp Thu Jan 2 13:56:16 2003
+--- src/mozilla/GaleonWrapper.cpp.orig Fri Oct 25 20:52:28 2002
++++ src/mozilla/GaleonWrapper.cpp Thu Feb 6 15:36:06 2003
@@ -80,8 +80,10 @@
#include "caps/nsIPrincipal.h"
#include "nsIDeviceContext.h"
@@ -27,3 +27,24 @@
nsCOMPtr<nsIWebBrowserFind> finder (do_GetInterface(mWebBrowser));
+@@ -984,7 +988,6 @@
+ nsIStyleSheet **return_sheet)
+ {
+ nsresult result;
+- PRBool completed;
+
+ /* catch necessary stuff */
+ nsCOMPtr<nsIDocShell> DocShell;
+@@ -1014,7 +1017,12 @@
+ if (NS_FAILED(result)) return NS_ERROR_FAILURE;
+
+ nsICSSStyleSheet *sheet;
++#if MOZILLA_SNAPSHOT > 3
++ result = loader->LoadAgentSheet(uri, &sheet);
++#else
++ PRBool completed;
+ result = loader->LoadAgentSheet(uri, sheet, completed, nsnull);
++#endif
+ if (NS_FAILED(result)) return NS_ERROR_FAILURE;
+
+ /* catch stylesheet stuff and apply by appending it as a override