summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKalev Lember <klember@redhat.com>2017-01-30 20:19:26 +0100
committerKalev Lember <klember@redhat.com>2017-01-30 20:19:26 +0100
commit57e1575ebcf2c041071f32c2e79098c3f07c8987 (patch)
tree5e8e00e80a6048195be5fa8b3f7abc1379323a17
parent3da5c591ebbd99e737804892ec51bc985f942391 (diff)
downloadappstream-glib-57e1575ebcf2c041071f32c2e79098c3f07c8987.tar.gz
Require name and summary for validate-relax
These are now hard requirements on the composer side, so we should require them in the validator as well.
-rw-r--r--libappstream-glib/as-app-validate.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libappstream-glib/as-app-validate.c b/libappstream-glib/as-app-validate.c
index 1fa435f..b72fda7 100644
--- a/libappstream-glib/as-app-validate.c
+++ b/libappstream-glib/as-app-validate.c
@@ -1066,7 +1066,6 @@ as_app_validate (AsApp *app, AsAppValidateFlags flags, GError **error)
require_translation = FALSE;
switch (as_app_get_source_kind (app)) {
case AS_APP_SOURCE_KIND_METAINFO:
- case AS_APP_SOURCE_KIND_APPDATA:
require_name = FALSE;
break;
default: