diff options
author | Richard Hughes <richard@hughsie.com> | 2014-08-13 17:41:03 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2014-08-18 10:42:35 +0100 |
commit | defe2d87789ab0f68d77c3f99f9cb62d049034ef (patch) | |
tree | 55c972fc5ea275dc2458dcb062eb0e313a821cb0 | |
parent | 0094f04c93c106d8bac1ee71209316f9d5114836 (diff) | |
download | appstream-glib-defe2d87789ab0f68d77c3f99f9cb62d049034ef.tar.gz |
trivial: Correctly subsume extends data
-rw-r--r-- | libappstream-glib/as-app.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libappstream-glib/as-app.c b/libappstream-glib/as-app.c index 64268cc..af041ed 100644 --- a/libappstream-glib/as-app.c +++ b/libappstream-glib/as-app.c @@ -2301,6 +2301,12 @@ as_app_subsume_private (AsApp *app, AsApp *donor, AsAppSubsumeFlags flags) as_app_add_kudo (app, tmp, -1); } + /* extends */ + for (i = 0; i < priv->extends->len; i++) { + tmp = g_ptr_array_index (priv->extends, i); + as_app_add_extends (app, tmp, -1); + } + /* compulsory_for_desktops */ for (i = 0; i < priv->compulsory_for_desktops->len; i++) { tmp = g_ptr_array_index (priv->compulsory_for_desktops, i); |