diff options
Diffstat (limited to 'embed/mozilla/MozillaPrivate.cpp')
-rw-r--r-- | embed/mozilla/MozillaPrivate.cpp | 5 |
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); } |