diff options
author | Crispin Flowerday <gnome@flowerday.cx> | 2005-08-07 05:11:24 +0800 |
---|---|---|
committer | Crispin Flowerday <crispin@src.gnome.org> | 2005-08-07 05:11:24 +0800 |
commit | 976b6e0255ef388a396d1f1525b5d3ef70b67799 (patch) | |
tree | 632ffb02dac1b4d0993eb63fe9283108ff30e791 /embed | |
parent | 2d66071c7e1c42b1df2a1e34ecc84670bd42e790 (diff) | |
download | gsoc2013-epiphany-976b6e0255ef388a396d1f1525b5d3ef70b67799.tar gsoc2013-epiphany-976b6e0255ef388a396d1f1525b5d3ef70b67799.tar.gz gsoc2013-epiphany-976b6e0255ef388a396d1f1525b5d3ef70b67799.tar.bz2 gsoc2013-epiphany-976b6e0255ef388a396d1f1525b5d3ef70b67799.tar.lz gsoc2013-epiphany-976b6e0255ef388a396d1f1525b5d3ef70b67799.tar.xz gsoc2013-epiphany-976b6e0255ef388a396d1f1525b5d3ef70b67799.tar.zst gsoc2013-epiphany-976b6e0255ef388a396d1f1525b5d3ef70b67799.zip |
Don't attach the scroll event listener twice.
2005-08-06 Crispin Flowerday <gnome@flowerday.cx>
* embed/mozilla/EphyBrowser.cpp (AttachListeners):
Don't attach the scroll event listener twice.
Diffstat (limited to 'embed')
-rw-r--r-- | embed/mozilla/EphyBrowser.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/embed/mozilla/EphyBrowser.cpp b/embed/mozilla/EphyBrowser.cpp index 231b5c4ac..363131c70 100644 --- a/embed/mozilla/EphyBrowser.cpp +++ b/embed/mozilla/EphyBrowser.cpp @@ -661,8 +661,6 @@ EphyBrowser::AttachListeners(void) mPopupBlockEventListener, PR_FALSE); rv |= mEventTarget->AddEventListener(nsEmbedString(kDOMWillOpenModalDialog), mModalAlertListener, PR_TRUE); - rv |= mEventTarget->AddEventListener(nsEmbedString(kDOMMouseScroll), - mDOMScrollEventListener, PR_TRUE); rv |= mEventTarget->AddEventListener(nsEmbedString(kDOMModalDialogClosed), mModalAlertListener, PR_TRUE); rv |= mEventTarget->AddEventListener(nsEmbedString(kContextMenu), |