aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorChristian Persch <chpe@src.gnome.org>2007-12-24 06:02:02 +0800
committerChristian Persch <chpe@src.gnome.org>2007-12-24 06:02:02 +0800
commit0b0de463f1ffb1a209607f79589c8f1a7a9235de (patch)
tree33e4926f99e106e64b469c8ac6c2958807d1a510 /embed
parent4ebb2a25c1e2ec41e1f951dfb64312f9aec204dd (diff)
downloadgsoc2013-epiphany-0b0de463f1ffb1a209607f79589c8f1a7a9235de.tar.gz
gsoc2013-epiphany-0b0de463f1ffb1a209607f79589c8f1a7a9235de.tar.zst
gsoc2013-epiphany-0b0de463f1ffb1a209607f79589c8f1a7a9235de.zip
Xr 1.9 fixes. Bug #503657.
svn path=/trunk/; revision=7804
Diffstat (limited to 'embed')
-rw-r--r--embed/mozilla/GeckoPrintService.cpp3
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) {