app: fix gimp-file-save PDB procedure implementation.

The GFile was taken from the wrong argument.
This commit is contained in:
Jehan 2020-10-21 17:58:19 +02:00
parent 1a90a2df32
commit 9487c5648b
1 changed files with 1 additions and 1 deletions

View File

@ -232,7 +232,7 @@ file_save_invoker (GimpProcedure *procedure,
GimpProcedure *proc;
gint i;
file = g_value_get_object (gimp_value_array_index (args, 3));
file = g_value_get_object (gimp_value_array_index (args, 4));
file_proc = gimp_plug_in_manager_file_procedure_find (gimp->plug_in_manager,
GIMP_FILE_PROCEDURE_GROUP_SAVE,