ScriptFu: refactor script-fu-dialog

No functional changes.

Extract methods to be in common with script_fu_fu_regular_proc
i.e. to run a GimpProcedure instead of GimpImageProcedure
This commit is contained in:
lloyd konneker
2024-09-20 16:59:11 -04:00
committed by Lloyd Konneker
parent 16efc8adc2
commit 0a2b64352c
3 changed files with 86 additions and 48 deletions

View File

@ -99,7 +99,7 @@ script_fu_run_image_procedure (GimpProcedure *procedure, /* GimpImageProc
if (n_specs > 1)
{
/* Let user choose "other" args in a dialog, then interpret. Maintain a config. */
result = script_fu_dialog_run (procedure, script, image, n_drawables, drawables, config);
result = script_fu_dialog_run_image_proc (procedure, script, image, n_drawables, drawables, config);
}
else
{