aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/EphyBrowser.cpp
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-08-06 20:51:09 +0800
committerChristian Persch <chpe@src.gnome.org>2004-08-06 20:51:09 +0800
commitf15105e06c66e1156f6c8f4542db62eed0ee46f2 (patch)
treec157b80dee44f21df8a8da49b496864151ae1cd4 /embed/mozilla/EphyBrowser.cpp
parentf9f94be91053ec7560e4b6e34a338dda9a40457d (diff)
downloadgsoc2013-epiphany-f15105e06c66e1156f6c8f4542db62eed0ee46f2.tar.gz
gsoc2013-epiphany-f15105e06c66e1156f6c8f4542db62eed0ee46f2.tar.zst
gsoc2013-epiphany-f15105e06c66e1156f6c8f4542db62eed0ee46f2.zip
Now that mozilla bug #246392 is fixed, only enable our work-around for old
2004-08-06 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/mozilla-embed.cpp: Now that mozilla bug #246392 is fixed, only enable our work-around for old mozilla versions.
Diffstat (limited to 'embed/mozilla/EphyBrowser.cpp')
-rw-r--r--embed/mozilla/EphyBrowser.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/embed/mozilla/EphyBrowser.cpp b/embed/mozilla/EphyBrowser.cpp
index 77ceadfb1..c9cb5a4a0 100644
--- a/embed/mozilla/EphyBrowser.cpp
+++ b/embed/mozilla/EphyBrowser.cpp
@@ -414,6 +414,7 @@ nsresult EphyBrowser::GoToHistoryIndex (PRInt16 index)
return ContentNav->GotoIndex (index);
}
+#if !MOZILLA_CHECK_VERSION4 (1, 7, MOZILLA_RELEASE, 3) && !MOZILLA_CHECK_VERSION4 (1, 8, MOZILLA_ALPHA, 3)
/* Workaround for broken reload with frames, see mozilla bug
* http://bugzilla.mozilla.org/show_bug.cgi?id=246392
*/
@@ -451,6 +452,7 @@ nsresult EphyBrowser::Reload (PRUint32 flags)
return webNavigation->Reload (reloadFlags);
}
+#endif
nsresult EphyBrowser::SetZoom (float aZoom)
{