From ac23b66059f0a6b47404c99cab8e64ecfd5d4866 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Mon, 12 Feb 2007 23:47:03 +0100 Subject: [PATCH] Compile the new method only if we are on 1.9 --- lib/src/GeckoDownload.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/src/GeckoDownload.cpp b/lib/src/GeckoDownload.cpp index 4c80d9a7..4ee6cb97 100644 --- a/lib/src/GeckoDownload.cpp +++ b/lib/src/GeckoDownload.cpp @@ -148,6 +148,8 @@ GeckoDownload::OnSecurityChange (nsIWebProgress *aWebProgress, return NS_OK; } +#ifdef HAVE_MOZILLA_1_9 + NS_IMETHODIMP GeckoDownload::OnRefreshAttempted (nsIWebProgress *aWebProgress, nsIURI *aRefreshURI, @@ -157,6 +159,9 @@ GeckoDownload::OnRefreshAttempted (nsIWebProgress *aWebProgress, { return NS_OK; } + +#endif + //***************************************************************************** // GeckoDownloadFactory //*****************************************************************************