mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
Don't treat manual_scale like a percentage, its a factor.
2006-05-31 Matthias Clasen <mclasen@redhat.com> * gtk/gtkprintoperation.c (print_pages_idle): Don't treat manual_scale like a percentage, its a factor.
This commit is contained in:
parent
3c6de40578
commit
b641d2df47
@ -1,5 +1,8 @@
|
||||
2006-05-31 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* 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)
|
||||
|
||||
|
@ -1,5 +1,8 @@
|
||||
2006-05-31 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* 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)
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user