diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | embed/mozilla/GlobalHistory.cpp | 4 |
2 files changed, 8 insertions, 2 deletions
@@ -1,5 +1,11 @@ 2004-08-27 Christian Persch <chpe@cvs.gnome.org> + * embed/mozilla/GlobalHistory.cpp: + + Mozilla API change on stable branch. + +2004-08-27 Christian Persch <chpe@cvs.gnome.org> + * embed/mozilla/MozDownload.cpp: QI instead of cast. diff --git a/embed/mozilla/GlobalHistory.cpp b/embed/mozilla/GlobalHistory.cpp index 8e4d3513f..7096daaf2 100644 --- a/embed/mozilla/GlobalHistory.cpp +++ b/embed/mozilla/GlobalHistory.cpp @@ -133,7 +133,7 @@ NS_IMETHODIMP MozGlobalHistory::HidePage(nsIURI *aURI) return NS_ERROR_NOT_IMPLEMENTED; } -#if MOZILLA_CHECK_VERSION4 (1, 8, MOZILLA_ALPHA, 3) +#if (MOZILLA_IS_BRANCH (1, 7) && MOZILLA_CHECK_VERSION3 (1, 7, 3)) || MOZILLA_CHECK_VERSION4 (1, 8, MOZILLA_ALPHA, 3) /* void removePage (in nsIURI aURI); */ NS_IMETHODIMP MozGlobalHistory::RemovePage(nsIURI *aURI) { @@ -179,7 +179,7 @@ NS_IMETHODIMP MozGlobalHistory::GetCount(PRUint32 *aCount) return NS_ERROR_NOT_IMPLEMENTED; } -#if MOZILLA_CHECK_VERSION4 (1, 8, MOZILLA_ALPHA, 3) +#if (MOZILLA_IS_BRANCH (1, 7) && MOZILLA_CHECK_VERSION3 (1, 7, 3)) || MOZILLA_CHECK_VERSION4 (1, 8, MOZILLA_ALPHA, 3) /* void markPageAsTyped (in AUTF8String aURI) */ NS_IMETHODIMP MozGlobalHistory::MarkPageAsTyped(nsIURI *aURI) { |