diff options
author | Christian Persch <chpe@src.gnome.org> | 2004-04-14 03:32:45 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-04-14 03:32:45 +0800 |
commit | c0852b5c82595400cad4014fca32d188baf9a9e8 (patch) | |
tree | e85065ca4ce12bc0a30c93583aca6967caecab2e /embed | |
parent | 4a908200fdd1064924da73f61a64f61d628dae96 (diff) | |
download | gsoc2013-epiphany-c0852b5c82595400cad4014fca32d188baf9a9e8.tar gsoc2013-epiphany-c0852b5c82595400cad4014fca32d188baf9a9e8.tar.gz gsoc2013-epiphany-c0852b5c82595400cad4014fca32d188baf9a9e8.tar.bz2 gsoc2013-epiphany-c0852b5c82595400cad4014fca32d188baf9a9e8.tar.lz gsoc2013-epiphany-c0852b5c82595400cad4014fca32d188baf9a9e8.tar.xz gsoc2013-epiphany-c0852b5c82595400cad4014fca32d188baf9a9e8.tar.zst gsoc2013-epiphany-c0852b5c82595400cad4014fca32d188baf9a9e8.zip |
Merging from HEAD
Diffstat (limited to 'embed')
-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 42d4b3b33..3443d17e6 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)); } |