summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2014-03-03 14:21:02 +0100
committerBenjamin Otte <otte@redhat.com>2014-03-05 21:03:36 +0100
commit01fe1282fc71ae4ef65e9c4a70ce8224e09de7fa (patch)
tree614b6154b00b4b863c99265cd61b1ab9626636e1 /testsuite
parent25da672dbc07502521ffcf634fa82d1349bccc0d (diff)
downloadgtk+-01fe1282fc71ae4ef65e9c4a70ce8224e09de7fa.tar.gz
reftests: Remove unused argument from function
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/reftests/gtk-reftest.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/testsuite/reftests/gtk-reftest.c b/testsuite/reftests/gtk-reftest.c
index 19918a0f78..3cb8d0cb92 100644
--- a/testsuite/reftests/gtk-reftest.c
+++ b/testsuite/reftests/gtk-reftest.c
@@ -446,8 +446,7 @@ buffer_diff_core (const guchar *buf_a,
}
static cairo_surface_t *
-compare_surfaces (const char *test_file,
- cairo_surface_t *surface1,
+compare_surfaces (cairo_surface_t *surface1,
cairo_surface_t *surface2)
{
int w1, h1, w2, h2, w, h;
@@ -493,7 +492,7 @@ test_ui_file (GFile *file)
}
g_free (reference_file);
- diff_image = compare_surfaces (ui_file, ui_image, reference_image);
+ diff_image = compare_surfaces (ui_image, reference_image);
save_image (ui_image, ui_file, ".out.png");
save_image (reference_image, ui_file, ".ref.png");