diff options
author | Richard Hughes <richard@hughsie.com> | 2016-08-11 19:33:35 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2017-01-17 10:36:20 +0000 |
commit | 342d67559fedc6e06f84effd83db643ef32ef3e1 (patch) | |
tree | bb43746d6710e1ebd2853e0bf952efb02e7bf64d | |
parent | 93e6a47cb5d7732a62d344e2c2b3066248583114 (diff) | |
download | appstream-glib-342d67559fedc6e06f84effd83db643ef32ef3e1.tar.gz |
trivial: Fix validation of console-application components
-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 7602178..d728667 100644 --- a/libappstream-glib/as-app-validate.c +++ b/libappstream-glib/as-app-validate.c @@ -1119,12 +1119,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) { |