app: also properly check updates for "source" platform family.
I.e. non-macOS and non-Windows. For these, we don't really care about the startup check usually (which is normally disabled anyway, at least as a default), but we still care about the version check to work when explicitly requested through the "About" dialog's button.
This commit is contained in:
@ -305,7 +305,8 @@ gimp_check_updates_process (const gchar *source,
|
||||
build = json_array_get_object_element (builds, j);
|
||||
if (json_object_has_member (build, "build-id"))
|
||||
build_id = json_object_get_string_member (build, "build-id");
|
||||
if (g_strcmp0 (build_id, GIMP_BUILD_ID) == 0)
|
||||
if (g_strcmp0 (build_id, GIMP_BUILD_ID) == 0 ||
|
||||
g_strcmp0 (platform, "source") == 0)
|
||||
{
|
||||
/* Release date is the build date if any set,
|
||||
* otherwise the main version release date.
|
||||
|
Reference in New Issue
Block a user