diff options
author | Matthias Klumpp <matthias@tenstral.net> | 2021-08-10 16:55:09 +0200 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2021-08-10 16:59:56 +0100 |
commit | 3fa624026f608ef8465fb339f86725aaf648e09f (patch) | |
tree | f3ad9ea51afd9daf010bd6223f17c5c1e695f1ab | |
parent | fd582f003d7a3deb30a946a81ccba9e3194ec133 (diff) | |
download | appstream-glib-3fa624026f608ef8465fb339f86725aaf648e09f.tar.gz |
Don't emit legacy component type values
-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 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) |