diff options
author | Matthias Clasen <mclasen@redhat.com> | 2013-05-31 19:35:57 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2013-05-31 19:38:01 -0400 |
commit | 9fa5a6c63f584b3813da2f04a31b63196a290b09 (patch) | |
tree | 1bc7c914a88edb1be6bd6e75ff31285aeee64df2 /tests/pixbuf-icon-serialize.c | |
parent | 0e6004afbcee78af31a8dd2ec8a6751ef02839e4 (diff) | |
download | gdk-pixbuf-9fa5a6c63f584b3813da2f04a31b63196a290b09.tar.gz |
Make serialization test work installed
Diffstat (limited to 'tests/pixbuf-icon-serialize.c')
-rw-r--r-- | tests/pixbuf-icon-serialize.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/pixbuf-icon-serialize.c b/tests/pixbuf-icon-serialize.c index 7d35a20af..20bf6e1e1 100644 --- a/tests/pixbuf-icon-serialize.c +++ b/tests/pixbuf-icon-serialize.c @@ -13,7 +13,7 @@ test_serialize (void) GIcon *icon; GInputStream *stream; - pixbuf = gdk_pixbuf_new_from_file (ABS_SRCDIR "/test-image.png", &error); + pixbuf = gdk_pixbuf_new_from_file (g_test_get_filename (G_TEST_DIST, "test-image.png", NULL), &error); g_assert_no_error (error); g_assert (pixbuf != NULL); |