diff options
author | Richard Hughes <richard@hughsie.com> | 2016-08-15 10:23:18 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2016-08-15 10:23:18 +0100 |
commit | b2449ddcb10d1b208d0ad3f9726b9caf330240cb (patch) | |
tree | 0d17fd9a144107dffc44c11a87bdad9421d877f6 /libappstream-glib | |
parent | 5c6f120c1e69049b73bc20a4e357f04454f35a26 (diff) | |
download | appstream-glib-b2449ddcb10d1b208d0ad3f9726b9caf330240cb.tar.gz |
trivial: Don't require screenshots for valid langpacks
Diffstat (limited to 'libappstream-glib')
-rw-r--r-- | libappstream-glib/as-app-validate.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libappstream-glib/as-app-validate.c b/libappstream-glib/as-app-validate.c index 3bd3440..4b46ae4 100644 --- a/libappstream-glib/as-app-validate.c +++ b/libappstream-glib/as-app-validate.c @@ -757,7 +757,8 @@ as_app_validate_screenshots (AsApp *app, AsAppValidateHelper *helper) } /* firmware does not need screenshots */ - if (as_app_get_kind (app) == AS_APP_KIND_FIRMWARE) + if (as_app_get_kind (app) == AS_APP_KIND_FIRMWARE || + as_app_get_kind (app) == AS_APP_KIND_LOCALIZATION) number_screenshots_min = 0; /* metainfo and inf do not require any screenshots */ |