From 191e977fd1ce21c56f3f86ec7699da0f4ed34210 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20K=C3=B6hler?= Date: Sat, 24 Mar 2007 15:30:27 +0000 Subject: [PATCH] Use gtk_print_operation_set_{use_full_page,unit} for reports. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15751 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/gnome-utils/gnc-html.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gnome-utils/gnc-html.c b/src/gnome-utils/gnc-html.c index ad7d7733f1..e7241a793b 100644 --- a/src/gnome-utils/gnc-html.c +++ b/src/gnome-utils/gnc-html.c @@ -1239,6 +1239,8 @@ gnc_html_print(gnc_html *html) gtk_print_operation_set_print_settings(print, print_settings); G_UNLOCK(print_settings); + gtk_print_operation_set_use_full_page(print, FALSE); + gtk_print_operation_set_unit(print, GTK_UNIT_POINTS); gtk_print_operation_set_n_pages(print, 1); g_signal_connect(print, "draw_page", G_CALLBACK(draw_page_cb), html);