summaryrefslogtreecommitdiff
path: root/egg/eggdesktopfile.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-03-19 14:47:22 +0100
committerraveit65 <[email protected]>2020-04-16 13:13:10 +0200
commit6206bf02ab7791d6f5f19b87fb1adaf5e8fc5924 (patch)
tree71b04a4589a146ff238fcb142207de3cb4ebe8b9 /egg/eggdesktopfile.c
parentd866caf4cdf397b3762c3ac13f92a2c03c458e98 (diff)
downloadmate-session-manager-6206bf02ab7791d6f5f19b87fb1adaf5e8fc5924.tar.bz2
mate-session-manager-6206bf02ab7791d6f5f19b87fb1adaf5e8fc5924.tar.xz
Accept Desktop Entry Specification v1.1
Diffstat (limited to 'egg/eggdesktopfile.c')
-rw-r--r--egg/eggdesktopfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/egg/eggdesktopfile.c b/egg/eggdesktopfile.c
index ce4d622..cfb96bb 100644
--- a/egg/eggdesktopfile.c
+++ b/egg/eggdesktopfile.c
@@ -167,7 +167,7 @@ EggDesktopFile* egg_desktop_file_new_from_key_file(GKeyFile* key_file, const cha
{
g_warning("Invalid Version string '%s' in %s", version, source ? source : "(unknown)");
}
- else if (version_num > 1.0)
+ else if (version_num > 1.1)
{
g_set_error(error, EGG_DESKTOP_FILE_ERROR, EGG_DESKTOP_FILE_ERROR_INVALID, _("Unrecognized desktop file Version '%s'"), version);
g_free(version);