Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpg@redhat.com>2007-02-12 22:47:03 (GMT)
committer Marco Pesenti Gritti <mpg@redhat.com>2007-02-12 22:47:03 (GMT)
commitac23b66059f0a6b47404c99cab8e64ecfd5d4866 (patch)
tree39d53794611ac9f866969b04f97252acb7e2d415 /lib
parent6267b7981139936e18908caa6f30ff5766d16682 (diff)
Compile the new method only if we are on 1.9
Diffstat (limited to 'lib')
-rw-r--r--lib/src/GeckoDownload.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/src/GeckoDownload.cpp b/lib/src/GeckoDownload.cpp
index 4c80d9a..4ee6cb9 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
//*****************************************************************************