summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2019-04-09 13:38:16 +0100
committerRichard Hughes <richard@hughsie.com>2019-04-09 13:38:16 +0100
commitc80b3d5e726c20867d9e7b727990ae14bc0e7c7c (patch)
tree024144d8aec320757ee146c63e78b5a887c27748
parent843caabdeca6ae15f400f38536bc666340c30465 (diff)
downloadappstream-glib-c80b3d5e726c20867d9e7b727990ae14bc0e7c7c.tar.gz
Allow non-desktop components to be extended
There's no obvious reason why we should restrict this in the generator.
-rw-r--r--libappstream-builder/asb-context.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libappstream-builder/asb-context.c b/libappstream-builder/asb-context.c
index 9bd48d3..e2b83df 100644
--- a/libappstream-builder/asb-context.c
+++ b/libappstream-builder/asb-context.c
@@ -839,8 +839,6 @@ asb_context_detect_missing_parents (AsbContext *ctx, GError **error)
continue;
if (as_app_get_pkgname_default (app) == NULL)
continue;
- if (as_app_get_kind (app) != AS_APP_KIND_DESKTOP)
- continue;
g_hash_table_insert (hash,
(gpointer) as_app_get_id (app),
app);