summaryrefslogtreecommitdiff
path: root/tests/testprint.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2011-05-27 04:21:40 +0200
committerBenjamin Otte <otte@redhat.com>2011-05-27 16:11:09 +0200
commit2881930e68b774818a1afff3ba8d345dad6cb941 (patch)
tree661458009ce09e8e28869410d073c067f1a77ecd /tests/testprint.c
parent8c4653c4f2186d6c841d87db1f129455ab0374e8 (diff)
downloadgtk+-2881930e68b774818a1afff3ba8d345dad6cb941.tar.gz
tests: Remove unused variables
Diffstat (limited to 'tests/testprint.c')
-rw-r--r--tests/testprint.c5
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;
}