diff options
author | Christian Biesinger <biesi@src.gnome.org> | 2004-04-07 23:51:31 +0800 |
---|---|---|
committer | Christian Biesinger <biesi@src.gnome.org> | 2004-04-07 23:51:31 +0800 |
commit | 32e7f698ede6d453c563743198ddca5a270a03fd (patch) | |
tree | 3e65616643f7ae7c092878a9e606414995067c7f /embed/mozilla/FilePicker.cpp | |
parent | 19faef2caf08e026266c360fb721ec99bea68e50 (diff) | |
download | gsoc2013-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.cpp | 5 |
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)); } |