1
1
mirror of https://gitlab.gnome.org/GNOME/gimp.git synced 2025-10-06 01:12:40 +02:00

app: fix opening remote files.

This got broken with commit 66cdecb0fa. It is now possible to open
remote files again.
This commit is contained in:
Jehan
2025-09-24 19:09:27 +02:00
parent 91418131a0
commit 2187f0a49c

View File

@@ -139,7 +139,7 @@ file_open_image (Gimp *gimp,
}
}
if (! file_open_valid_permissions (file, error))
if (g_file_is_native (file) && ! file_open_valid_permissions (file, error))
return NULL;
if (! file_proc)
@@ -789,7 +789,7 @@ file_open_link_image (Gimp *gimp,
GIMP_FILE_PROCEDURE_GROUP_OPEN,
file, error);
if (! file_open_valid_permissions (file, error))
if (g_file_is_native (file) && ! file_open_valid_permissions (file, error))
return NULL;
if (g_file_is_native (file) && file_proc != NULL)