From ccdf65853534b9f116ce6e38b0ad5375cf33820e Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 18 Dec 2014 15:57:30 -0500 Subject: Accept version 1.1 When the current spec version was updated to 1.1, we forgot to ensure that we actually accept Version=1.1 in desktop files. --- src/validate.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/validate.c b/src/validate.c index f2e8a06..3401cc5 100644 --- a/src/validate.c +++ b/src/validate.c @@ -926,6 +926,9 @@ handle_version_key (kf_validator *kf, const char *locale_key, const char *value) { + if (!strcmp (value, "1.1")) + return TRUE; + if (!strcmp (value, "1.0")) return TRUE; -- cgit v1.2.1