summaryrefslogtreecommitdiff
path: root/libview/ev-print-operation.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-12-22 11:23:46 +0100
committerraveit65 <[email protected]>2022-02-11 17:37:23 +0100
commitb71aa9861c0bcaae602f42b24e18e2f816ceed03 (patch)
tree4e483b218f711b77dd031a427b9b1625f84fd551 /libview/ev-print-operation.c
parent05dc26a2c8abd952e7b3d46dae719530a546f7d9 (diff)
downloadatril-b71aa9861c0bcaae602f42b24e18e2f816ceed03.tar.bz2
atril-b71aa9861c0bcaae602f42b24e18e2f816ceed03.tar.xz
Fix implicit conversion changes signedness: 'gboolean' to 'guint'
Diffstat (limited to 'libview/ev-print-operation.c')
-rw-r--r--libview/ev-print-operation.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libview/ev-print-operation.c b/libview/ev-print-operation.c
index baccc179..f2e90ba3 100644
--- a/libview/ev-print-operation.c
+++ b/libview/ev-print-operation.c
@@ -1257,8 +1257,8 @@ ev_print_operation_export_print_dialog_response_cb (GtkDialog *dial
export->pages_per_sheet = MAX (1, gtk_print_settings_get_number_up (print_settings));
export->copies = gtk_print_settings_get_n_copies (print_settings);
- export->collate = gtk_print_settings_get_collate (print_settings);
- export->reverse = gtk_print_settings_get_reverse (print_settings);
+ export->collate = (gtk_print_settings_get_collate (print_settings) != FALSE);
+ export->reverse = (gtk_print_settings_get_reverse (print_settings) != FALSE);
if (export->collate) {
export->uncollated_copies = export->copies;