diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2006-06-09 01:55:29 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2006-06-09 01:55:29 +0000 |
commit | ada7aa635ee22c0b56050342711468629fadcbbe (patch) | |
tree | 16ce2ed2db78a1ef9020a96c378cb1b3b28bd333 /tests/testprint.c | |
parent | 854b26a44163541c6342f7858ea142d3781115d2 (diff) | |
download | gdk-pixbuf-ada7aa635ee22c0b56050342711468629fadcbbe.tar.gz |
fix build
Diffstat (limited to 'tests/testprint.c')
-rw-r--r-- | tests/testprint.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testprint.c b/tests/testprint.c index 2394d12b1..e39c3a991 100644 --- a/tests/testprint.c +++ b/tests/testprint.c @@ -108,7 +108,7 @@ main (int argc, char **argv) print = gtk_print_operation_new (); gtk_print_operation_set_n_pages (print, 2); gtk_print_operation_set_unit (print, GTK_UNIT_MM); - gtk_print_operation_set_pdf_target (print, "test.pdf"); + gtk_print_operation_set_export_filename (print, "test.pdf"); g_signal_connect (print, "draw_page", G_CALLBACK (draw_page), NULL); g_signal_connect (print, "request_page_setup", G_CALLBACK (request_page_setup), NULL); res = gtk_print_operation_run (print, GTK_PRINT_OPERATION_ACTION_EXPORT, NULL, NULL); @@ -116,7 +116,7 @@ main (int argc, char **argv) /* Test subclassing of GtkPrintOperation */ print_file = test_print_file_operation_new ("testprint.c"); test_print_file_operation_set_font_size (print_file, 12.0); - gtk_print_operation_set_pdf_target (GTK_PRINT_OPERATION (print_file), "test2.pdf"); + gtk_print_operation_set_export_filename (GTK_PRINT_OPERATION (print_file), "test2.pdf"); res = gtk_print_operation_run (GTK_PRINT_OPERATION (print_file), GTK_PRINT_OPERATION_ACTION_EXPORT, NULL, NULL); return 0; |