aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/FilePicker.cpp
diff options
context:
space:
mode:
authorChristian Biesinger <biesi@src.gnome.org>2004-04-07 23:51:31 +0800
committerChristian Biesinger <biesi@src.gnome.org>2004-04-07 23:51:31 +0800
commit32e7f698ede6d453c563743198ddca5a270a03fd (patch)
tree3e65616643f7ae7c092878a9e606414995067c7f /embed/mozilla/FilePicker.cpp
parent19faef2caf08e026266c360fb721ec99bea68e50 (diff)
downloadgsoc2013-epiphany-32e7f698ede6d453c563743198ddca5a270a03fd.tar
gsoc2013-epiphany-32e7f698ede6d453c563743198ddca5a270a03fd.tar.gz
gsoc2013-epiphany-32e7f698ede6d453c563743198ddca5a270a03fd.tar.bz2
gsoc2013-epiphany-32e7f698ede6d453c563743198ddca5a270a03fd.tar.lz
gsoc2013-epiphany-32e7f698ede6d453c563743198ddca5a270a03fd.tar.xz
gsoc2013-epiphany-32e7f698ede6d453c563743198ddca5a270a03fd.tar.zst
gsoc2013-epiphany-32e7f698ede6d453c563743198ddca5a270a03fd.zip
Eliminate ExternalProtocolHandlers in favor of setting prefs to make
* embed/mozilla/ExternalProtocolHandlers.cpp: * embed/mozilla/ExternalProtocolHandlers.h: * embed/mozilla/FilePicker.cpp: * embed/mozilla/Makefile.am: * embed/mozilla/MozRegisterComponents.cpp: * embed/mozilla/MozRegisterComponents.h: * embed/mozilla/mozilla-embed-single.cpp: Eliminate ExternalProtocolHandlers in favor of setting prefs to make Mozilla not handle the protocols internally.
Diffstat (limited to 'embed/mozilla/FilePicker.cpp')
-rw-r--r--embed/mozilla/FilePicker.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/embed/mozilla/FilePicker.cpp b/embed/mozilla/FilePicker.cpp
index 39283c56e..9187915e1 100644
--- a/embed/mozilla/FilePicker.cpp
+++ b/embed/mozilla/FilePicker.cpp
@@ -90,10 +90,9 @@ NS_IMETHODIMP GFilePicker::Init(nsIDOMWindowInternal *parent, const PRUnichar *t
{
LOG ("GFilePicker::Init")
- nsCOMPtr<nsIDOMWindow> dw = do_QueryInterface (parent);
- if (dw)
+ if (parent)
{
- GtkWidget *pwin = MozillaFindGtkParent (dw);
+ GtkWidget *pwin = MozillaFindGtkParent (parent);
gtk_window_set_transient_for (GTK_WINDOW (mDialog), GTK_WINDOW (pwin));
}