summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2016-06-01 12:57:41 -0400
committerMatthias Clasen <mclasen@redhat.com>2016-06-01 12:57:41 -0400
commitb241c465fad3de320a487f859267f3677655985c (patch)
tree84c5aa85ae68e08da58a687502a631fa95366e85 /tests
parentad43d54b11d0b337e8032d9d25b09eb8f8650ace (diff)
downloadgdk-pixbuf-b241c465fad3de320a487f859267f3677655985c.tar.gz
Fix the new test to run as installed test
Diffstat (limited to 'tests')
-rw-r--r--tests/pixbuf-composite.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/pixbuf-composite.c b/tests/pixbuf-composite.c
index 3bd201fab..f6b5feb70 100644
--- a/tests/pixbuf-composite.c
+++ b/tests/pixbuf-composite.c
@@ -64,7 +64,7 @@ test_composite2 (void)
GdkPixbuf *src, *dest;
guchar *pixels, *p;
- src = gdk_pixbuf_new_from_file ("test-image.png", NULL);
+ src = gdk_pixbuf_new_from_file (g_test_get_filename (G_TEST_DIST, "test-image.png"), NULL);
{
GdkPixbuf *tmp = gdk_pixbuf_new (GDK_COLORSPACE_RGB,