summaryrefslogtreecommitdiff
path: root/libappstream-builder/plugins/asb-plugin-font.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/plugins/asb-plugin-font.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/plugins/asb-plugin-font.c')
-rw-r--r--libappstream-builder/plugins/asb-plugin-font.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libappstream-builder/plugins/asb-plugin-font.c b/libappstream-builder/plugins/asb-plugin-font.c
index 8cc5935..fa5404f 100644
--- a/libappstream-builder/plugins/asb-plugin-font.c
+++ b/libappstream-builder/plugins/asb-plugin-font.c
@@ -450,10 +450,6 @@ asb_font_add_screenshot (AsbApp *app, FT_Face ft_face, GError **error)
if (tmp != NULL) {
gint priority = 0;
- /* positive */
- if (g_strstr_len (tmp, -1, "Regular") != NULL)
- priority += 1;
-
/* negative */
if (g_strstr_len (tmp, -1, "Italic") != NULL)
priority -= 2;