From a866971eeffecd58ccde193d8cd074b51a96e3e3 Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Sat, 5 May 2007 21:53:17 +0000 Subject: [PATCH] use $flags and not a literal GIMP_PARAM_READWRITE for the image 2007-05-05 Michael Natterer * 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 --- ChangeLog | 7 +++++++ app/pdb/image_cmds.c | 2 +- tools/pdbgen/app.pl | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index c58c2ba48e..19ccf47166 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2007-05-05 Michael Natterer + + * 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 * app/paint-funcs/paint-funcs.c (convolve_region): instead of just diff --git a/app/pdb/image_cmds.c b/app/pdb/image_cmds.c index f25c3a0104..df863dbcc4 100644 --- a/app/pdb/image_cmds.c +++ b/app/pdb/image_cmds.c @@ -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", diff --git a/tools/pdbgen/app.pl b/tools/pdbgen/app.pl index 9198c71d5c..71ce1414d9 100644 --- a/tools/pdbgen/app.pl +++ b/tools/pdbgen/app.pl @@ -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') {