From d027d07946453d18012d7bd5e03ef7722d376278 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Fri, 3 Dec 2021 11:54:38 +0000 Subject: Revert "Don't emit legacy component type values" This reverts commit 3fa624026f608ef8465fb339f86725aaf648e09f. --- 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 4fb56e9..b65f08d 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-application"; + return "desktop"; 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 "web-application"; + return "webapp"; if (kind == AS_APP_KIND_SOURCE) return "source"; if (kind == AS_APP_KIND_ADDON) -- cgit v1.2.1