diff options
author | Richard Hughes <richard@hughsie.com> | 2018-01-30 10:27:25 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2018-05-03 08:59:40 +0100 |
commit | 061ce79bd45f6f6d9664364c278b51cba8bbb049 (patch) | |
tree | 7f1b8f0e182089c83a339654a859c77d2b53246a /libappstream-builder | |
parent | 2f2e2ee3d39955bc26fac9781f491d4f426ede18 (diff) | |
download | appstream-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.c | 6 |
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)) { |