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 624487 - Incorrect "wrap mode" values in edge.c PDB documentation text
Incorrect "wrap mode" values in edge.c PDB documentation text
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: Plugins
git master
Other All
: Normal trivial
: 2.6
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2010-07-15 19:57 UTC by Rob Antonishen
Modified: 2015-11-29 23:10 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Rob Antonishen 2010-07-15 19:57:12 UTC
Looks like the same issue as here:

https://bugzilla.gnome.org/show_bug.cgi?id=624452

where the PDB doc line:
    { GIMP_PDB_INT32,    "wrapmode", "Edge detection behavior { WRAP (0), SMEAR (1), BLACK (2) }" },


should be:

    { GIMP_PDB_INT32,    "wrapmode", "Edge detection behavior { WRAP (1), SMEAR (2), BLACK (3) }" },

to line up with the pixelfetcher edge mode enum:

typedef enum
{
  GIMP_PIXEL_FETCHER_EDGE_NONE,
  GIMP_PIXEL_FETCHER_EDGE_WRAP,
  GIMP_PIXEL_FETCHER_EDGE_SMEAR,
  GIMP_PIXEL_FETCHER_EDGE_BLACK,
  GIMP_PIXEL_FETCHER_EDGE_BACKGROUND
} GimpPixelFetcherEdgeMode;

Only an issue with non-interactive calls.
Comment 1 LightningIsMyName 2010-09-13 01:13:46 UTC
Fixed in master and gimp-2-6, thanks for the detailed report!

commit 1135f2db926ebadda6c72f043cb2d7a6fcfa3003
Date:   Mon Sep 13 02:55:20 2010 +0200

    Bug 624487 - Fix incorrect "wrap mode" documentation values in Edge plug-in