fixed docs for gimp-image-add-layer as pointed out in bug #347861.

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.
This commit is contained in:
Sven Neumann 2006-07-18 07:35:26 +00:00 committed by Sven Neumann
parent 6f7c74f62b
commit 6a3a062dd9
4 changed files with 14 additions and 8 deletions

View File

@ -1,3 +1,11 @@
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.
2006-07-16 Manish Singh <yosh@gimp.org>
* plug-ins/pygimp/pygimp-rgb.c: gimpcolor.RGB is now a sequence,

View File

@ -2896,7 +2896,7 @@ register_image_procs (GimpPDB *pdb)
gimp_procedure_set_static_strings (procedure,
"gimp-image-add-layer",
"Add the specified layer to the image.",
"This procedure adds the specified layer to the image at the given position. If the position is specified as -1, then the layer is inserted at the top of the layer stack. If the layer to be added has no alpha channel, it must be added at position 0. The layer type must be compatible with the image base type.",
"This procedure adds the specified layer to the image at the given position. If the position is specified as -1, then the layer is inserted above the active layer. The layer type must be compatible with the image base type.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",

View File

@ -897,9 +897,8 @@ gimp_image_pick_correlate_layer (gint32 image_ID,
*
* This procedure adds the specified layer to the image at the given
* position. If the position is specified as -1, then the layer is
* inserted at the top of the layer stack. If the layer to be added has
* no alpha channel, it must be added at position 0. The layer type
* must be compatible with the image base type.
* inserted above the active layer. The layer type must be compatible
* with the image base type.
*
* Returns: TRUE on success.
*/

View File

@ -881,10 +881,9 @@ sub image_add_layer {
$blurb = 'Add the specified layer to the image.';
$help = <<'HELP';
This procedure adds the specified layer to the image at the given position. If
the position is specified as -1, then the layer is inserted at the top of the
layer stack. If the layer to be added has no alpha channel, it must be added at
position 0. The layer type must be compatible with the image base type.
This procedure adds the specified layer to the image at the given position.
If the position is specified as -1, then the layer is inserted above the
active layer. The layer type must be compatible with the image base type.
HELP
&std_pdb_misc;