From b641d2df47d2d2b2043e368eff88f6fd5cb9bf76 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 31 May 2006 19:46:02 +0000 Subject: [PATCH] Don't treat manual_scale like a percentage, its a factor. 2006-05-31 Matthias Clasen * gtk/gtkprintoperation.c (print_pages_idle): Don't treat manual_scale like a percentage, its a factor. --- ChangeLog | 3 +++ ChangeLog.pre-2-10 | 3 +++ gtk/gtkprintoperation.c | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 889e63d51c..29d8264800 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2006-05-31 Matthias Clasen + * gtk/gtkprintoperation.c (print_pages_idle): Don't + treat manual_scale like a percentage, its a factor. + * gtk/gtktreeview.c (gtk_tree_view_class_init): Document signals. (#302556, Stefan Kost) diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 889e63d51c..29d8264800 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,5 +1,8 @@ 2006-05-31 Matthias Clasen + * gtk/gtkprintoperation.c (print_pages_idle): Don't + treat manual_scale like a percentage, its a factor. + * gtk/gtktreeview.c (gtk_tree_view_class_init): Document signals. (#302556, Stefan Kost) diff --git a/gtk/gtkprintoperation.c b/gtk/gtkprintoperation.c index 8d133aa709..b568c94d4a 100644 --- a/gtk/gtkprintoperation.c +++ b/gtk/gtkprintoperation.c @@ -1720,7 +1720,7 @@ print_pages_idle (gpointer user_data) cr = gtk_print_context_get_cairo_context (data->print_context); cairo_save (cr); - if (priv->manual_scale != 100.0) + if (priv->manual_scale != 1.0) cairo_scale (cr, priv->manual_scale, priv->manual_scale);