Fix non-interactive execution.

This commit is contained in:
Seth Burgess 2001-08-11 13:48:10 +00:00
parent 4305c39cf0
commit fec97c4919
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2001-08-11 Seth Burgess <sjburges@gimp.org>
* plug-ins/common/colortoalpha.c: set nparams != 4 for
non-interactive execution. Thanks to alex@foogod.com for
this fix.
2001-08-11 Michael Natterer <mitch@gimp.org>
* app/core/Makefile.am
@ -25,7 +31,7 @@
* app/widgets/gimpdnd.[ch]: make it DND-able.
* app/widgets/gimppreview.c: fix preview rendering correctly this
itme.
time.
2001-08-10 Sven Neumann <sven@gimp.org>

View file

@ -167,7 +167,7 @@ run (gchar *name,
break;
case GIMP_RUN_NONINTERACTIVE:
if (nparams != 3)
if (nparams != 4)
status = GIMP_PDB_CALLING_ERROR;
if (status == GIMP_PDB_SUCCESS)