summaryrefslogtreecommitdiff
path: root/tests/test-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-common.h')
-rw-r--r--tests/test-common.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/test-common.h b/tests/test-common.h
index 6b53242f5..f0e1b1a03 100644
--- a/tests/test-common.h
+++ b/tests/test-common.h
@@ -27,13 +27,14 @@
G_BEGIN_DECLS
-typedef gboolean (* AddTestFunc) (const gchar *filename);
+typedef gboolean (* AddTestFunc) (GFile *file);
gboolean format_supported (const gchar *filename);
gboolean skip_if_insufficient_memory (GError **err);
gboolean pixdata_equal (GdkPixbuf *test, GdkPixbuf *ref, GError **error);
void add_test_for_all_images (const gchar *prefix,
- const gchar *dir,
+ GFile *base,
+ GFile *file,
GTestDataFunc test_func,
AddTestFunc add_test_func);