mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-22 20:41:43 +00:00
66a66b3218
2006-05-06 Michael Natterer <mitch@gimp.org> * app/core/gimpparamspecs.[ch]: added "gboolean none_ok" members to GimpParamSpecImageID, GimpParamSpecItemID and GimpParamSpecDisplayID. If none_ok is set, allow '0' and '-1' as valid IDs. Added "none_ok" parameter to all ID param spec constructors. * app/pdb/gimp-pdb-compat.c: set none_ok to TRUE in all compat param specs, so only IDs that are really random garbage don't pass validation. Fixes validation errors with 0 and -1 IDs. * tools/pdbgen/app.pl: set none_ok to FALSE by default. Added support for $arg->{none_ok} to control it. * tools/pdbgen/pdb/image.pdb * tools/pdbgen/pdb/progress.pdb * tools/pdbgen/pdb/text_tool.pdb: use none_ok instead of no_success (which disables validation entirely). * app/pdb/[many]_cmds.c: regenerated. |
||
---|---|---|
.. | ||
pdbgen | ||
.cvsignore | ||
gimp-mkenums | ||
gimp-remote.c | ||
gimppath2svg.py | ||
kernelgen.c | ||
Makefile.am | ||
rmshm | ||
test-clipboard.c |