ScriptFu: fix #11954 err call PDB file-export-foo type GimpExportOption

GimpExportOptions is incomplete.
It exists so the API is stable.
For now, ScriptFu eat and ignore actual args,
binding to NULL, in calls to PDB procedures
file-export-foo having formal args of this type.

Unlikely that in the future ScriptFu will do anything else:
if a plugin needs export options, use another language.
The few file exporters used by existing ScriptFu scripts
(file-gbr-export and file-pat-export)
don't honor export options.
This commit is contained in:
lloyd konneker
2024-08-28 08:13:11 -04:00
parent 0e245e86c1
commit cb1a46511a
5 changed files with 23 additions and 5 deletions

View File

@ -33,6 +33,7 @@
(file-pat-export RUN-NONINTERACTIVE
pattern-image
path
-1 ; NULL ExportOptions
name)
(gimp-image-delete pattern-image)