diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2005-08-16 06:38:43 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2005-08-16 06:38:43 +0800 |
commit | 18cb6c805fc57c21b173725e3a334a135e32e16e (patch) | |
tree | 016d54d3f48238e7621ddc401ae8b0b100a755b5 /embed | |
parent | 2e0acbe78c7963db8c34e6c66c899751a8bc3d83 (diff) | |
download | gsoc2013-epiphany-18cb6c805fc57c21b173725e3a334a135e32e16e.tar.gz gsoc2013-epiphany-18cb6c805fc57c21b173725e3a334a135e32e16e.tar.zst gsoc2013-epiphany-18cb6c805fc57c21b173725e3a334a135e32e16e.zip |
Return TRUE if the event was consumed.
2005-08-16 Christian Persch <chpe@cvs.gnome.org>
* embed/mozilla/EphyFind.cpp:
Return TRUE if the event was consumed.
* embed/mozilla/mozilla-embed-single.cpp:
More redundant code.
Diffstat (limited to 'embed')
-rw-r--r-- | embed/mozilla/EphyFind.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embed/mozilla/EphyFind.cpp b/embed/mozilla/EphyFind.cpp index 224e85081..5221be417 100644 --- a/embed/mozilla/EphyFind.cpp +++ b/embed/mozilla/EphyFind.cpp @@ -260,5 +260,5 @@ EphyFind::ActivateLink (GdkModifierType aMask) PRBool defaultPrevented = PR_FALSE; rv = target->DispatchEvent (event, &defaultPrevented); - return NS_SUCCEEDED (rv); + return NS_SUCCEEDED (rv) && defaultPrevented; } |