summaryrefslogtreecommitdiff
path: root/libappstream-builder/asb-self-test.c
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2014-10-20 21:47:28 +0100
committerRichard Hughes <richard@hughsie.com>2014-10-20 21:47:28 +0100
commitf8da7b1fbb47aeb19d8027c52a4d3f6be742615e (patch)
treef8116127b1518b4200189ea2da23e19842bc3da7 /libappstream-builder/asb-self-test.c
parentefaf3ec8b8bc552ff9d946b4487f191c7c336736 (diff)
downloadappstream-glib-f8da7b1fbb47aeb19d8027c52a4d3f6be742615e.tar.gz
Write the screenshot priority in the XML file
We need this if we're loading in old metadata.
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 3f5ad6b..71b3c73 100644
--- a/libappstream-builder/asb-self-test.c
+++ b/libappstream-builder/asb-self-test.c
@@ -377,7 +377,7 @@ asb_test_context_test_func (AsbTestContextMode mode)
"<caption>Liberation Serif – Regular</caption>\n"
"<image type=\"source\" height=\"48\" width=\"640\"/>\n"
"</screenshot>\n"
- "<screenshot>\n"
+ "<screenshot priority=\"-32\">\n"
"<caption>Liberation Serif – Bold</caption>\n"
"<image type=\"source\" height=\"48\" width=\"640\"/>\n"
"</screenshot>\n"
@@ -514,7 +514,7 @@ asb_test_context_test_func (AsbTestContextMode mode)
"<caption>Liberation Serif – Regular</caption>\n"
"<image type=\"source\" height=\"48\" width=\"640\"/>\n"
"</screenshot>\n"
- "<screenshot>\n"
+ "<screenshot priority=\"-32\">\n"
"<caption>Liberation Serif – Bold</caption>\n"
"<image type=\"source\" height=\"48\" width=\"640\"/>\n"
"</screenshot>\n"