aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@src.gnome.org>2008-07-03 00:08:55 +0800
committerCosimo Cecchi <cosimoc@src.gnome.org>2008-07-03 00:08:55 +0800
commit239f87750ba9174429be2e2bf8ce7fac46e8008e (patch)
treea3645b948ba97edf84db689ac1cc999f5dfd7238
parenta620e16968b6e234cd401c89ada8925221516543 (diff)
downloadgsoc2013-epiphany-239f87750ba9174429be2e2bf8ce7fac46e8008e.tar
gsoc2013-epiphany-239f87750ba9174429be2e2bf8ce7fac46e8008e.tar.gz
gsoc2013-epiphany-239f87750ba9174429be2e2bf8ce7fac46e8008e.tar.bz2
gsoc2013-epiphany-239f87750ba9174429be2e2bf8ce7fac46e8008e.tar.lz
gsoc2013-epiphany-239f87750ba9174429be2e2bf8ce7fac46e8008e.tar.xz
gsoc2013-epiphany-239f87750ba9174429be2e2bf8ce7fac46e8008e.tar.zst
gsoc2013-epiphany-239f87750ba9174429be2e2bf8ce7fac46e8008e.zip
Use percentage instead of value when calling gtk_print_settings_set_scale.
Patch by Paul Drain. (#541168). svn path=/branches/gnome-2-22/; revision=8330
-rw-r--r--embed/mozilla/GeckoPrintService.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed/mozilla/GeckoPrintService.cpp b/embed/mozilla/GeckoPrintService.cpp
index 8f2b7cba6..2d5d615b2 100644
--- a/embed/mozilla/GeckoPrintService.cpp
+++ b/embed/mozilla/GeckoPrintService.cpp
@@ -735,7 +735,7 @@ GeckoPrintService::TranslateSettings (GtkPrintSettings *aGtkSettings,
/* FIXME: only if GTK_PRINT_CAPABILITY_SCALE is not set? */
aSettings->SetScaling (gtk_print_settings_get_scale (aGtkSettings) / 100.0);
- gtk_print_settings_set_scale (aGtkSettings, 1.0);
+ gtk_print_settings_set_scale (aGtkSettings, 100.0);
aSettings->SetShrinkToFit (PR_FALSE); /* FIXME setting */