diff options
-rw-r--r-- | libappstream-glib/as-app.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libappstream-glib/as-app.c b/libappstream-glib/as-app.c index 725c829..9ccbf4e 100644 --- a/libappstream-glib/as-app.c +++ b/libappstream-glib/as-app.c @@ -2540,8 +2540,11 @@ as_app_node_insert (AsApp *app, GNode *parent, gdouble api_version) static gint old_prio_value = 0; /* no addons allowed here */ - if (api_version < 0.7 && priv->id_kind == AS_ID_KIND_ADDON) + if (api_version < 0.7 && priv->id_kind == AS_ID_KIND_ADDON) { + g_warning ("Not writing addon '%s' as API version %.1f < 0.7", + priv->id_full, api_version); return NULL; + } /* <component> or <application> */ if (api_version >= 0.6) { |