aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/EphyBrowser.cpp
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-10-31 02:04:40 +0800
committerChristian Persch <chpe@src.gnome.org>2004-10-31 02:04:40 +0800
commit4c41745e525a7fc35f29622e382ec7f881cc2e50 (patch)
tree20e3f974f518a22e7d9b00ed8075a0cf653e2f89 /embed/mozilla/EphyBrowser.cpp
parentebddd6104b96e1da09e8f6375ef7707ff42ee447 (diff)
downloadgsoc2013-epiphany-4c41745e525a7fc35f29622e382ec7f881cc2e50.tar
gsoc2013-epiphany-4c41745e525a7fc35f29622e382ec7f881cc2e50.tar.gz
gsoc2013-epiphany-4c41745e525a7fc35f29622e382ec7f881cc2e50.tar.bz2
gsoc2013-epiphany-4c41745e525a7fc35f29622e382ec7f881cc2e50.tar.lz
gsoc2013-epiphany-4c41745e525a7fc35f29622e382ec7f881cc2e50.tar.xz
gsoc2013-epiphany-4c41745e525a7fc35f29622e382ec7f881cc2e50.tar.zst
gsoc2013-epiphany-4c41745e525a7fc35f29622e382ec7f881cc2e50.zip
Check for nsIDOMNSEvent::GetIsTrusted.
2004-10-30 Christian Persch <chpe@cvs.gnome.org> * configure.ac: Check for nsIDOMNSEvent::GetIsTrusted. * embed/mozilla/EphyBrowser.cpp: Conditionally compile this code. * lib/ephy-marshal.list: Forgot to commit this.
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 da69e21b3..58826f5f0 100644
--- a/embed/mozilla/EphyBrowser.cpp
+++ b/embed/mozilla/EphyBrowser.cpp
@@ -216,6 +216,7 @@ EphyPopupBlockEventListener::HandleEvent (nsIDOMEvent * aDOMEvent)
NS_IMETHODIMP
EphyModalAlertEventListener::HandleEvent (nsIDOMEvent * aDOMEvent)
{
+#ifdef MOZ_NSIDOMNSEVENT_GETISTRUSTED
NS_ENSURE_TRUE (mOwner, NS_ERROR_FAILURE);
/* make sure the event is trusted */
@@ -251,6 +252,7 @@ EphyModalAlertEventListener::HandleEvent (nsIDOMEvent * aDOMEvent)
{
g_signal_emit_by_name (mOwner, "ge-modal-alert-closed");
}
+#endif
return NS_OK;
}