GitLab repository storage has been migrated to hashed layout. Please contact Infrastructure team if you notice any issues with repositories or hooks.

Commit 7b3f696d authored by Jehan's avatar Jehan

app: accept "revision" and "date" fields to be absent on a build...

... object in the gimp_versions.json file.
parent 0c1205f4
Pipeline #149789 passed with stages
in 44 minutes and 43 seconds
......@@ -198,8 +198,10 @@ gimp_check_updates_callback (GObject *source,
build_id = json_object_get_string_member (build, "build-id");
if (g_strcmp0 (build_id, GIMP_BUILD_ID) == 0)
{
build_revision = json_object_get_int_member (build, "revision");
build_date = json_object_get_string_member (build, "date");
if (json_object_has_member (build, "revision"))
build_revision = json_object_get_int_member (build, "revision");
if (json_object_has_member (build, "date"))
build_date = json_object_get_string_member (build, "date");
break;
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment