diff options
author | Richard Hughes <richard@hughsie.com> | 2016-08-11 19:33:35 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2016-08-11 19:33:35 +0100 |
commit | 3f01c28cef3e8c6e95f5aaaa00efd9a90c016a2d (patch) | |
tree | 53e334d5c9f6b78c36ee35948a59a6c48bf5c851 /libappstream-glib | |
parent | 0572fda7d59c474a43662493e3daed6d275610dc (diff) | |
download | appstream-glib-3f01c28cef3e8c6e95f5aaaa00efd9a90c016a2d.tar.gz |
trivial: Fix validation of console-application components
Diffstat (limited to 'libappstream-glib')
-rw-r--r-- | libappstream-glib/as-app-validate.c | 5 |
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) { |