aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorChristian Persch <chpe@src.gnome.org>2008-02-28 22:29:22 +0800
committerChristian Persch <chpe@src.gnome.org>2008-02-28 22:29:22 +0800
commit2a59317dbd2fe3be837263157e84e3a0e01707d5 (patch)
treeec28fded7fc00899b8b25fb069d59a67e23c9499 /embed
parent9c05690457018bc53b6a320d3dc7e12ec9d90152 (diff)
downloadgsoc2013-epiphany-2a59317dbd2fe3be837263157e84e3a0e01707d5.tar
gsoc2013-epiphany-2a59317dbd2fe3be837263157e84e3a0e01707d5.tar.gz
gsoc2013-epiphany-2a59317dbd2fe3be837263157e84e3a0e01707d5.tar.bz2
gsoc2013-epiphany-2a59317dbd2fe3be837263157e84e3a0e01707d5.tar.lz
gsoc2013-epiphany-2a59317dbd2fe3be837263157e84e3a0e01707d5.tar.xz
gsoc2013-epiphany-2a59317dbd2fe3be837263157e84e3a0e01707d5.tar.zst
gsoc2013-epiphany-2a59317dbd2fe3be837263157e84e3a0e01707d5.zip
Initialise variable. Bug #519173.
svn path=/trunk/; revision=8001
Diffstat (limited to 'embed')
-rw-r--r--embed/mozilla/AutoModalDialog.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/embed/mozilla/AutoModalDialog.cpp b/embed/mozilla/AutoModalDialog.cpp
index 994cfe4fa..48df678fa 100644
--- a/embed/mozilla/AutoModalDialog.cpp
+++ b/embed/mozilla/AutoModalDialog.cpp
@@ -55,6 +55,8 @@ AutoModalDialog::AutoModalDialog (nsIDOMWindow *aWindow,
mModalState (aWindow),
#ifdef HAVE_GECKO_1_9
mDefaultEnabled (DispatchEvent ("DOMWillOpenModalDialog", aNotifyDOM)),
+#else
+ mDefaultEnabled (PR_TRUE),
#endif
mContextPushed (NS_SUCCEEDED (mStack.Init ()))
{