use $flags and not a literal GIMP_PARAM_READWRITE for the image

2007-05-05  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/app.pl (generate_pspec): use $flags and not a
	literal GIMP_PARAM_READWRITE for the image paramspec's flags.

	* app/pdb/image_cmds.c: regenerated.


svn path=/trunk/; revision=22425
This commit is contained in:
Michael Natterer 2007-05-05 21:53:17 +00:00 committed by Michael Natterer
parent 45f04cc7b1
commit a866971eef
3 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2007-05-05 Michael Natterer <mitch@gimp.org>
* tools/pdbgen/app.pl (generate_pspec): use $flags and not a
literal GIMP_PARAM_READWRITE for the image paramspec's flags.
* app/pdb/image_cmds.c: regenerated.
2007-05-05 Sven Neumann <sven@gimp.org>
* app/paint-funcs/paint-funcs.c (convolve_region): instead of just

View File

@ -2283,7 +2283,7 @@ register_image_procs (GimpPDB *pdb)
"image",
"The image to check",
pdb->gimp, FALSE,
GIMP_PARAM_READWRITE));
GIMP_PARAM_READWRITE | GIMP_PARAM_NO_VALIDATE));
gimp_procedure_add_return_value (procedure,
g_param_spec_boolean ("valid",
"valid",

View File

@ -208,7 +208,7 @@ gimp_param_spec_image_id ("$name",
"$nick",
"$blurb",
pdb->gimp, $none_ok,
GIMP_PARAM_READWRITE)
$flags)
CODE
}
elsif ($pdbtype eq 'drawable') {