diff options
author | Richard Hughes <richard@hughsie.com> | 2018-08-16 17:18:38 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2018-08-16 17:53:51 +0100 |
commit | 38e9734d42ea9a7c6c69eb887fc4da0eb85c9faa (patch) | |
tree | f631f057ce7b64b9d3075a692ec5db764b3592e1 /libappstream-glib | |
parent | 32de1c955233ff6509a352c7b0077148f435d95c (diff) | |
download | appstream-glib-38e9734d42ea9a7c6c69eb887fc4da0eb85c9faa.tar.gz |
Do not restrict the maximum number of releases allowed per-component
If this needs limiting it needs to be done on the generator.
Diffstat (limited to 'libappstream-glib')
-rw-r--r-- | libappstream-glib/as-app.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libappstream-glib/as-app.c b/libappstream-glib/as-app.c index 1b66445..f84011c 100644 --- a/libappstream-glib/as-app.c +++ b/libappstream-glib/as-app.c @@ -4790,7 +4790,7 @@ as_app_node_insert (AsApp *app, GNode *parent, AsNodeContext *ctx) if (priv->releases->len > 0) { g_ptr_array_sort (priv->releases, as_app_releases_sort_cb); node_tmp = as_node_insert (node_app, "releases", NULL, 0, NULL); - for (i = 0; i < priv->releases->len && i < 3; i++) { + for (i = 0; i < priv->releases->len; i++) { rel = g_ptr_array_index (priv->releases, i); as_release_node_insert (rel, node_tmp, ctx); } |