diff options
author | David King <amigadave@amigadave.com> | 2022-02-15 10:56:04 +0000 |
---|---|---|
committer | David King <amigadave@amigadave.com> | 2022-02-15 11:06:11 +0000 |
commit | 56d220dd679c7c3a8f995a41a27a7d6f3df49dea (patch) | |
tree | db3c23cc9366d170e61438eda70e0f80e5f8e8b4 | |
parent | 425177a28b6215e0745f95100160a08e810fd47c (diff) | |
download | desktop-file-utils-master.tar.gz |
Bump CURRENT_SPEC_VERSION to 1.5.
-rw-r--r-- | man/desktop-file-validate.1 | 2 | ||||
-rw-r--r-- | src/validate.c | 3 | ||||
-rw-r--r-- | src/validate.h | 2 |
3 files changed, 5 insertions, 2 deletions
diff --git a/man/desktop-file-validate.1 b/man/desktop-file-validate.1 index 8e17411..ce87c47 100644 --- a/man/desktop-file-validate.1 +++ b/man/desktop-file-validate.1 @@ -9,7 +9,7 @@ desktop-file-validate \- Validate desktop entry files .B desktop-file-validate [\-\-no-hints] [\-\-no-warn-deprecated] [\-\-warn-kde] FILE... .SH DESCRIPTION The \fIdesktop-file-validate\fP program is a tool to validate desktop -entry files according to the Desktop Entry specification 1.4. +entry files according to the Desktop Entry specification 1.5. .PP The specification describes a file format to provide information such as name, icon and description for an application. Such a file can then be diff --git a/src/validate.c b/src/validate.c index ebb03b5..f9eedee 100644 --- a/src/validate.c +++ b/src/validate.c @@ -961,6 +961,9 @@ handle_version_key (kf_validator *kf, const char *locale_key, const char *value) { + if (!strcmp (value, "1.5")) + return TRUE; + if (!strcmp (value, "1.4")) return TRUE; diff --git a/src/validate.h b/src/validate.h index e6efd93..a7952cd 100644 --- a/src/validate.h +++ b/src/validate.h @@ -30,7 +30,7 @@ #include <glib.h> -#define CURRENT_SPEC_VERSION "1.4" +#define CURRENT_SPEC_VERSION "1.5" #define GROUP_KDE_DESKTOP_ENTRY "KDE Desktop Entry" #define GROUP_DESKTOP_ACTION "Desktop Action " |