From 3fa624026f608ef8465fb339f86725aaf648e09f Mon Sep 17 00:00:00 2001 From: Matthias Klumpp Date: Tue, 10 Aug 2021 16:55:09 +0200 Subject: Don't emit legacy component type values --- libappstream-glib/as-app.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libappstream-glib/as-app.c b/libappstream-glib/as-app.c index b65f08d..4fb56e9 100644 --- a/libappstream-glib/as-app.c +++ b/libappstream-glib/as-app.c @@ -138,7 +138,7 @@ const gchar * as_app_kind_to_string (AsAppKind kind) { if (kind == AS_APP_KIND_DESKTOP) - return "desktop"; + return "desktop-application"; if (kind == AS_APP_KIND_CODEC) return "codec"; if (kind == AS_APP_KIND_FONT) @@ -146,7 +146,7 @@ as_app_kind_to_string (AsAppKind kind) if (kind == AS_APP_KIND_INPUT_METHOD) return "inputmethod"; if (kind == AS_APP_KIND_WEB_APP) - return "webapp"; + return "web-application"; if (kind == AS_APP_KIND_SOURCE) return "source"; if (kind == AS_APP_KIND_ADDON) -- cgit v1.2.1