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 347861 - Description for 'gimp-image-add-layer' inaccurate
Description for 'gimp-image-add-layer' inaccurate
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: libgimp
2.2.x
Other All
: Normal minor
: 2.4
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2006-07-18 01:31 UTC by saulgoode
Modified: 2008-01-15 13:10 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to change the PDB description. (1.67 KB, patch)
2006-07-18 01:36 UTC, saulgoode
none Details | Review

Description saulgoode 2006-07-18 01:31:49 UTC
Documentation 
Section: The PDB description for the function.
"This procedure adds the specified layer to the gimage at the given position. If the position is specified as -1, then the layer is inserted at the top of the layer stack...

Correct version:
"This procedure adds the specified layer to the gimage at the given position. If the position is specified as -1 then the layer is inserted above the active layer in the layer stack...

Other information:
Sorry if this is submitted incorrectly. I was not sure whether "PDB doc" == "help"
Comment 1 saulgoode 2006-07-18 01:36:48 UTC
Created attachment 69083 [details] [review]
Patch to change the PDB description.

I generated this patch by performing the following two commands.

diff -uraN gimp/app/pdb/image_cmds.c gimp/app/pdb/image_cmds.new.c >bug347861.patch

diff -uraN gimp/libgimp/gimpimage_pdb.c gimp/libgimp/gimpimage_pdb.new.c >>bug347861.patch
Comment 2 Sven Neumann 2006-07-18 07:36:02 UTC
This code is autogenerated from the files in tools/pdbgen/pdb. I have done the change in the HEAD branch. It's IMO not worth backporting this to 2.2.

2006-07-18  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/image.pdb: fixed docs for gimp-image-add-layer
	as pointed out in bug #347861.

	* app/pdb/image_cmds.c
	* libgimp/gimpimage_pdb.c: regenerated.