diff options
author | Marek Kasik <mkasik@redhat.com> | 2009-10-26 17:47:37 +0100 |
---|---|---|
committer | Marek Kasik <mkasik@redhat.com> | 2009-10-26 17:47:37 +0100 |
commit | 6b5912a213d9c44e66fabddf980756b9af099e5c (patch) | |
tree | ad13f0b549d9940b54954fbd2a713061c6c270b2 /gtk/gtkprintsettings.c | |
parent | 567b23229f78e2ca4d651c3ab60054fda5857d1b (diff) | |
download | gtk+-6b5912a213d9c44e66fabddf980756b9af099e5c.tar.gz |
Show correct print preview
Modify print preview according to settings from print dialog.
Similar approach as during real print is applied to the preview
process (#592582).
Diffstat (limited to 'gtk/gtkprintsettings.c')
-rw-r--r-- | gtk/gtkprintsettings.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkprintsettings.c b/gtk/gtkprintsettings.c index 5c66fd69cd..f35552a198 100644 --- a/gtk/gtkprintsettings.c +++ b/gtk/gtkprintsettings.c @@ -1152,7 +1152,7 @@ gtk_print_settings_set_n_copies (GtkPrintSettings *settings, gint gtk_print_settings_get_number_up (GtkPrintSettings *settings) { - return gtk_print_settings_get_int (settings, GTK_PRINT_SETTINGS_NUMBER_UP); + return gtk_print_settings_get_int_with_default (settings, GTK_PRINT_SETTINGS_NUMBER_UP, 1); } /** |