aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/PrintingPromptService.cpp
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2003-10-31 21:13:06 +0800
committerChristian Persch <chpe@src.gnome.org>2003-10-31 21:13:06 +0800
commit67430590bb00c7265876fc25e6339c3fa33ca1de (patch)
tree2a347decf0e3df9a52c520e2ead1daf2f42ddac0 /embed/mozilla/PrintingPromptService.cpp
parent5909ee59ade218fcaab27cc4446e5ab384d90679 (diff)
downloadgsoc2013-epiphany-67430590bb00c7265876fc25e6339c3fa33ca1de.tar
gsoc2013-epiphany-67430590bb00c7265876fc25e6339c3fa33ca1de.tar.gz
gsoc2013-epiphany-67430590bb00c7265876fc25e6339c3fa33ca1de.tar.bz2
gsoc2013-epiphany-67430590bb00c7265876fc25e6339c3fa33ca1de.tar.lz
gsoc2013-epiphany-67430590bb00c7265876fc25e6339c3fa33ca1de.tar.xz
gsoc2013-epiphany-67430590bb00c7265876fc25e6339c3fa33ca1de.tar.zst
gsoc2013-epiphany-67430590bb00c7265876fc25e6339c3fa33ca1de.zip
Correctly set the embed for the print dialogue.
2003-10-31 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozillaPrivate.cpp: * embed/mozilla/MozillaPrivate.h: * embed/mozilla/PrintingPromptService.cpp: Correctly set the embed for the print dialogue.
Diffstat (limited to 'embed/mozilla/PrintingPromptService.cpp')
-rw-r--r--embed/mozilla/PrintingPromptService.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/embed/mozilla/PrintingPromptService.cpp b/embed/mozilla/PrintingPromptService.cpp
index a66cb5379..1288e2cc8 100644
--- a/embed/mozilla/PrintingPromptService.cpp
+++ b/embed/mozilla/PrintingPromptService.cpp
@@ -14,10 +14,12 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ *
+ * $Id$
*/
#ifdef HAVE_CONFIG_H
-#include <config.h>
+#include "config.h"
#endif
#include <gtk/gtkdialog.h>
@@ -53,8 +55,9 @@ NS_IMETHODIMP GPrintingPromptService::ShowPrintDialog(nsIDOMWindow *parent, nsIW
EmbedPrintInfo *info;
GtkWidget *gtkParent = MozillaFindGtkParent(parent);
+ EphyEmbed *embed = EPHY_EMBED (MozillaFindEmbed (parent));
- dialog = print_dialog_new_with_parent (gtkParent, NULL, &info);
+ dialog = print_dialog_new_with_parent (gtkParent, embed, &info);
ephy_dialog_set_modal (dialog, TRUE);
gint ret = ephy_dialog_run (dialog);