diff options
author | Richard Hughes <richard@hughsie.com> | 2021-12-03 11:54:38 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2021-12-03 11:54:38 +0000 |
commit | d027d07946453d18012d7bd5e03ef7722d376278 (patch) | |
tree | e195821b4fc35fc1451ba1cd670241ab5ac27436 /libappstream-glib/as-app.c | |
parent | 3fa624026f608ef8465fb339f86725aaf648e09f (diff) | |
download | appstream-glib-d027d07946453d18012d7bd5e03ef7722d376278.tar.gz |
Revert "Don't emit legacy component type values"
This reverts commit 3fa624026f608ef8465fb339f86725aaf648e09f.
Diffstat (limited to 'libappstream-glib/as-app.c')
-rw-r--r-- | libappstream-glib/as-app.c | 4 |
1 files 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) |