summaryrefslogtreecommitdiff
path: root/libappstream-builder/asb-self-test.c
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2015-04-10 16:50:51 +0100
committerRichard Hughes <richard@hughsie.com>2015-04-10 16:51:04 +0100
commit309440e885b786f9afa27ca3836079fa78753726 (patch)
tree825be5f4de996db458e4159fb268c7e270b26cc6 /libappstream-builder/asb-self-test.c
parentfb3d56dd6e0fd1f0f767115202d99e1fa965ee38 (diff)
downloadappstream-glib-309440e885b786f9afa27ca3836079fa78753726.tar.gz
Use the sanitized font filename as the cache-id
Using the application-id means that multiple fonts packaged up in the same file accidentally use the cached image of the first font.
Diffstat (limited to 'libappstream-builder/asb-self-test.c')
-rw-r--r--libappstream-builder/asb-self-test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libappstream-builder/asb-self-test.c b/libappstream-builder/asb-self-test.c
index 7246ff2..75516ce 100644
--- a/libappstream-builder/asb-self-test.c
+++ b/libappstream-builder/asb-self-test.c
@@ -451,7 +451,7 @@ asb_test_context_test_func (AsbTestContextMode mode)
"<screenshots>\n"
"<screenshot type=\"default\">\n"
"<caption>Liberation Serif – Regular</caption>\n"
- "<image type=\"source\" height=\"48\" width=\"640\">file:/LiberationSerif-660e7a5a60fdeb133d3e8b24e2766f2e.png</image>\n"
+ "<image type=\"source\" height=\"48\" width=\"640\">file:/LiberationSerif-85c191549daefb8f3b6cdb4d3d6d8597.png</image>\n"
"</screenshot>\n"
"<screenshot priority=\"-32\">\n"
"<caption>Liberation Serif – Bold</caption>\n"
@@ -617,7 +617,7 @@ asb_test_context_test_func (AsbTestContextMode mode)
"<screenshots>\n"
"<screenshot type=\"default\">\n"
"<caption>Liberation Serif – Regular</caption>\n"
- "<image type=\"source\" height=\"48\" width=\"640\">file:/LiberationSerif-660e7a5a60fdeb133d3e8b24e2766f2e.png</image>\n"
+ "<image type=\"source\" height=\"48\" width=\"640\">file:/LiberationSerif-85c191549daefb8f3b6cdb4d3d6d8597.png</image>\n"
"</screenshot>\n"
"<screenshot priority=\"-32\">\n"
"<caption>Liberation Serif – Bold</caption>\n"