[gtk+] reftests: Remove unused argument from function
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] reftests: Remove unused argument from function
- Date: Wed, 5 Mar 2014 20:31:30 +0000 (UTC)
commit 01fe1282fc71ae4ef65e9c4a70ce8224e09de7fa
Author: Benjamin Otte <otte redhat com>
Date: Mon Mar 3 14:21:02 2014 +0100
reftests: Remove unused argument from function
testsuite/reftests/gtk-reftest.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/testsuite/reftests/gtk-reftest.c b/testsuite/reftests/gtk-reftest.c
index 19918a0..3cb8d0c 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");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]