diff options
Diffstat (limited to 'embed')
-rw-r--r-- | embed/mozilla/GeckoPrintService.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/embed/mozilla/GeckoPrintService.cpp b/embed/mozilla/GeckoPrintService.cpp index 6cc675c8c..4d3de3fb8 100644 --- a/embed/mozilla/GeckoPrintService.cpp +++ b/embed/mozilla/GeckoPrintService.cpp @@ -665,7 +665,10 @@ GeckoPrintService::TranslateSettings (GtkPrintSettings *aGtkSettings, aSettings->SetPrintInColor (gtk_print_settings_get_use_color (aGtkSettings)); aSettings->SetPaperSizeUnit(nsIPrintSettings::kPaperSizeMillimeters); + +#ifndef HAVE_GECKO_1_9 aSettings->SetPaperSize (nsIPrintSettings::kPaperSizeDefined); +#endif GtkPaperSize *paperSize = gtk_page_setup_get_paper_size (aPageSetup); if (!paperSize) { |