After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 325007 - threshold parameter has incorrect type in unsharp plugin PDB
threshold parameter has incorrect type in unsharp plugin PDB
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: Plugins
git master
Other All
: Normal normal
: 2.2
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2005-12-26 15:33 UTC by David Hodson
Modified: 2005-12-27 18:24 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description David Hodson 2005-12-26 15:33:51 UTC
The "threshold" parameter of the unsharp mask plugin is specified to the PDB as GIMP_PDB_FLOAT (plug-ins/common/unsharp.c in query()). Everywhere else in the code it is used as an int, range 0 - 255. Replace:

      { GIMP_PDB_FLOAT,    "threshold", "Threshold" }

with:

      { GIMP_PDB_INT32,    "threshold", "Threshold" }
Comment 1 Sven Neumann 2005-12-27 18:24:06 UTC
Thanks for the report. Fixed in both branches:

2005-12-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/unsharp.c (query): fixed type of threshold
	parameter (bug #325007).