summaryrefslogtreecommitdiff
path: root/libappstream-glib
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2016-08-11 19:33:35 +0100
committerRichard Hughes <richard@hughsie.com>2016-08-11 19:33:35 +0100
commit3f01c28cef3e8c6e95f5aaaa00efd9a90c016a2d (patch)
tree53e334d5c9f6b78c36ee35948a59a6c48bf5c851 /libappstream-glib
parent0572fda7d59c474a43662493e3daed6d275610dc (diff)
downloadappstream-glib-3f01c28cef3e8c6e95f5aaaa00efd9a90c016a2d.tar.gz
trivial: Fix validation of console-application components
Diffstat (limited to 'libappstream-glib')
-rw-r--r--libappstream-glib/as-app-validate.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/libappstream-glib/as-app-validate.c b/libappstream-glib/as-app-validate.c
index 24443d9..3bd3440 100644
--- a/libappstream-glib/as-app-validate.c
+++ b/libappstream-glib/as-app-validate.c
@@ -1133,12 +1133,9 @@ as_app_validate (AsApp *app, AsAppValidateFlags flags, GError **error)
if (g_str_has_suffix (id, ".firmware"))
ret = TRUE;
break;
- case AS_APP_KIND_FONT:
- case AS_APP_KIND_ADDON:
- case AS_APP_KIND_SOURCE:
+ default:
/* anything goes */
ret = TRUE;
- default:
break;
}
if (!ret) {