diff options
Diffstat (limited to 'www')
-rw-r--r-- | www/galeon/files/patch-src_mozilla_GaleonWrapper.cpp | 25 |
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 |