Print full pages.

This commit is contained in:
Sebastian Ramacher 2012-06-03 22:07:42 +02:00
parent 290eefde5c
commit 508f8dad8d

View file

@ -28,6 +28,7 @@ print(zathura_t* zathura)
gtk_print_operation_set_allow_async(print_operation, TRUE);
gtk_print_operation_set_n_pages(print_operation, zathura_document_get_number_of_pages(zathura->document));
gtk_print_operation_set_current_page(print_operation, zathura_document_get_current_page_number(zathura->document));
gtk_print_operation_set_use_full_page(print_operation, TRUE);
/* print operation signals */
g_signal_connect(print_operation, "draw-page", G_CALLBACK(cb_print_draw_page), zathura);