summaryrefslogtreecommitdiff
path: root/libappstream-builder
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2018-01-30 10:27:25 +0000
committerRichard Hughes <richard@hughsie.com>2018-05-03 08:59:40 +0100
commit061ce79bd45f6f6d9664364c278b51cba8bbb049 (patch)
tree7f1b8f0e182089c83a339654a859c77d2b53246a /libappstream-builder
parent2f2e2ee3d39955bc26fac9781f491d4f426ede18 (diff)
downloadappstream-glib-061ce79bd45f6f6d9664364c278b51cba8bbb049.tar.gz
trivial: Allow specifying <icon> tags in metainfo files
Diffstat (limited to 'libappstream-builder')
-rw-r--r--libappstream-builder/plugins/asb-plugin-appdata.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libappstream-builder/plugins/asb-plugin-appdata.c b/libappstream-builder/plugins/asb-plugin-appdata.c
index b2e7fb1..5788fc8 100644
--- a/libappstream-builder/plugins/asb-plugin-appdata.c
+++ b/libappstream-builder/plugins/asb-plugin-appdata.c
@@ -66,7 +66,6 @@ asb_plugin_process_filename (AsbPlugin *plugin,
{
AsProblemKind problem_kind;
AsProblem *problem;
- GPtrArray *icons;
const gchar *tmp;
guint i;
g_autoptr(AsbApp) app = NULL;
@@ -104,11 +103,6 @@ asb_plugin_process_filename (AsbPlugin *plugin,
as_problem_get_message (problem));
}
- /* nuke things that do not belong */
- icons = as_app_get_icons (AS_APP (app));
- if (icons->len > 0)
- g_ptr_array_set_size (icons, 0);
-
/* fix up the project license */
tmp = as_app_get_project_license (AS_APP (app));
if (tmp != NULL && !as_utils_is_spdx_license (tmp)) {