gimp/plug-ins/file-icns
Jehan 4f1d0fb53b plug-ins: get rid of various gimp_image_set_file() calls.
- 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 e6e73e14c7). I only
  fixed the screenshot implementations doing such a thing.
- I left a few usages which will have to be looked at more in details later.
2023-02-13 22:54:16 +01:00
..
Makefile.am plug-ins: Add initial ICNS export support 2022-10-24 23:46:17 +00:00
file-icns-data.c
file-icns-data.h
file-icns-load.c plug-ins: get rid of various gimp_image_set_file() calls. 2023-02-13 22:54:16 +01:00
file-icns-load.h
file-icns-save.c plug-ins: Don't show invalid icons twice on export 2022-11-16 14:54:11 -05:00
file-icns-save.h plug-ins: Add initial ICNS export support 2022-10-24 23:46:17 +00:00
file-icns.c plug-ins: Add initial ICNS export support 2022-10-24 23:46:17 +00:00
file-icns.h plug-ins: Add initial ICNS export support 2022-10-24 23:46:17 +00:00
meson.build plug-ins: Add initial ICNS export support 2022-10-24 23:46:17 +00:00