aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-08-16 06:38:43 +0800
committerChristian Persch <chpe@src.gnome.org>2005-08-16 06:38:43 +0800
commit18cb6c805fc57c21b173725e3a334a135e32e16e (patch)
tree016d54d3f48238e7621ddc401ae8b0b100a755b5 /embed
parent2e0acbe78c7963db8c34e6c66c899751a8bc3d83 (diff)
downloadgsoc2013-epiphany-18cb6c805fc57c21b173725e3a334a135e32e16e.tar
gsoc2013-epiphany-18cb6c805fc57c21b173725e3a334a135e32e16e.tar.gz
gsoc2013-epiphany-18cb6c805fc57c21b173725e3a334a135e32e16e.tar.bz2
gsoc2013-epiphany-18cb6c805fc57c21b173725e3a334a135e32e16e.tar.lz
gsoc2013-epiphany-18cb6c805fc57c21b173725e3a334a135e32e16e.tar.xz
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.cpp2
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;
}