aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/MozillaPrivate.cpp
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@gnome.org>2004-06-25 21:38:36 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2004-06-25 21:38:36 +0800
commit4d95823df4166a6430bb07fc0701a8ab1c838a38 (patch)
treeba4960efe79b61e39d76b84a433cdfd183d6a75e /embed/mozilla/MozillaPrivate.cpp
parent1e6c9597b2253ace1b921f1247164b7f7e1fa6f5 (diff)
downloadgsoc2013-epiphany-4d95823df4166a6430bb07fc0701a8ab1c838a38.tar
gsoc2013-epiphany-4d95823df4166a6430bb07fc0701a8ab1c838a38.tar.gz
gsoc2013-epiphany-4d95823df4166a6430bb07fc0701a8ab1c838a38.tar.bz2
gsoc2013-epiphany-4d95823df4166a6430bb07fc0701a8ab1c838a38.tar.lz
gsoc2013-epiphany-4d95823df4166a6430bb07fc0701a8ab1c838a38.tar.xz
gsoc2013-epiphany-4d95823df4166a6430bb07fc0701a8ab1c838a38.tar.zst
gsoc2013-epiphany-4d95823df4166a6430bb07fc0701a8ab1c838a38.zip
Remove preview flag
2004-06-25 Marco Pesenti Gritti <marco@gnome.org> * embed/MozillaPrivate.cpp: Remove preview flag
Diffstat (limited to 'embed/mozilla/MozillaPrivate.cpp')
-rw-r--r--embed/mozilla/MozillaPrivate.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/embed/mozilla/MozillaPrivate.cpp b/embed/mozilla/MozillaPrivate.cpp
index 3fd0e57ab..c19f96919 100644
--- a/embed/mozilla/MozillaPrivate.cpp
+++ b/embed/mozilla/MozillaPrivate.cpp
@@ -75,7 +75,8 @@ GtkWidget *MozillaFindGtkParent (nsIDOMWindow *aDOMWindow)
#define MM_TO_INCH(x) (((double) x) / 25.4)
NS_METHOD MozillaCollatePrintSettings (const EmbedPrintInfo *info,
- nsIPrintSettings *options)
+ nsIPrintSettings *options,
+ gboolean preview)
{
const static int frame_types[] = {
nsIPrintSettings::kFramesAsIs,
@@ -149,7 +150,7 @@ NS_METHOD MozillaCollatePrintSettings (const EmbedPrintInfo *info,
* in print preview mode if we set "print to file" to true.
* See epiphany bug #119818.
*/
- if (info->preview)
+ if (preview)
{
options->SetPrintToFile (PR_FALSE);
}