mirror of https://github.com/GNOME/gimp.git
4f1d0fb53b
- This is unneeded in all import procedures. See previous commit. Note though
that this is not because of a change in previous commit. This was already
useless previously. The file set with this PDB function was overridden by the
core anyway (i.e. even before the previous commits).
In app/file/file-import.c:file_import_image(), the imported file is correctly
set (so there is no need to set it from plug-in, which anyway libgimp's
gimp_image_set_file() was not doing) and the XCF file is reset to NULL
(rendering the call to gimp_image_set_file() in a GimpLoadProcedure useless).
- Similarly, this is a useless call in export procedures because
app/file/file-save.c:file_save() overrides such call too. I could only see one
such case for JPEG export, which was quite useless.
- Finally in other types of plug-ins, setting a non-XCF file extension was
interfering with the save feature (similarly to commit
|
||
---|---|---|
.. | ||
.gitignore | ||
Makefile.am | ||
bmp-load.c | ||
bmp-load.h | ||
bmp-save.c | ||
bmp-save.h | ||
bmp.c | ||
bmp.h | ||
meson.build |