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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user