diff options
author | Benjamin Otte <otte@redhat.com> | 2011-05-27 04:21:40 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2011-05-27 16:11:09 +0200 |
commit | 2881930e68b774818a1afff3ba8d345dad6cb941 (patch) | |
tree | 661458009ce09e8e28869410d073c067f1a77ecd /tests/testprint.c | |
parent | 8c4653c4f2186d6c841d87db1f129455ab0374e8 (diff) | |
download | gtk+-2881930e68b774818a1afff3ba8d345dad6cb941.tar.gz |
tests: Remove unused variables
Diffstat (limited to 'tests/testprint.c')
-rw-r--r-- | tests/testprint.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/testprint.c b/tests/testprint.c index ca0fee5606..395bd295ef 100644 --- a/tests/testprint.c +++ b/tests/testprint.c @@ -98,7 +98,6 @@ int main (int argc, char **argv) { GtkPrintOperation *print; - GtkPrintOperationResult res; TestPrintFileOperation *print_file; gtk_init (&argc, &argv); @@ -110,13 +109,13 @@ main (int argc, char **argv) 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); + gtk_print_operation_run (print, GTK_PRINT_OPERATION_ACTION_EXPORT, NULL, NULL); /* 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_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); + gtk_print_operation_run (GTK_PRINT_OPERATION (print_file), GTK_PRINT_OPERATION_ACTION_EXPORT, NULL, NULL); return 0; } |