always call the batch interpreter in NON-INTERACTIVE mode (see bug

2005-10-20  Sven Neumann  <sven@gimp.org>

	* app/batch.c (batch_run): always call the batch interpreter in
	NON-INTERACTIVE mode (see bug #167964).

	* plug-ins/script-fu/script-fu-text-console.c: removed the run-mode
	check.
This commit is contained in:
Sven Neumann
2005-10-20 10:44:22 +00:00
committed by Sven Neumann
parent 2a57394375
commit a5e35eabcd
3 changed files with 14 additions and 27 deletions

View File

@ -79,7 +79,7 @@ batch_run (Gimp *gimp,
ProcRecord *proc = procedural_db_lookup (gimp, proc_name);
if (proc)
batch_run_cmd (gimp, proc_name, proc, GIMP_RUN_INTERACTIVE, NULL);
batch_run_cmd (gimp, proc_name, proc, GIMP_RUN_NONINTERACTIVE, NULL);
else
g_message (_("The batch interpreter '%s' is not available. "
"Batch mode disabled."), proc_name);