From 3e5bb503110c21d668a45e00544ed839197bf299 Mon Sep 17 00:00:00 2001 From: Sven Neumann Date: Wed, 28 Mar 2007 06:36:56 +0000 Subject: [PATCH] app/pdb/layer_cmds.c regenerated. 2007-03-28 Sven Neumann * app/pdb/layer_cmds.c * libgimp/gimplayer_pdb.c: regenerated. svn path=/trunk/; revision=22189 --- ChangeLog | 5 +++++ app/pdb/layer_cmds.c | 4 ++-- libgimp/gimplayer_pdb.c | 7 ++++--- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4c7e2d1b14..e7e615d307 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-03-28 Sven Neumann + + * app/pdb/layer_cmds.c + * libgimp/gimplayer_pdb.c: regenerated. + 2007-03-28 João S. O. Bueno Calligaris * tools/pdbgen/pdb/layer.pdb: clarified documentation for diff --git a/app/pdb/layer_cmds.c b/app/pdb/layer_cmds.c index 7167f899c5..f5716424db 100644 --- a/app/pdb/layer_cmds.c +++ b/app/pdb/layer_cmds.c @@ -1173,7 +1173,7 @@ register_layer_procs (GimpPDB *pdb) gimp_procedure_set_static_strings (procedure, "gimp-layer-create-mask", "Create a layer mask for the specified specified layer.", - "This procedure creates a layer mask for the specified layer. Layer masks serve as an additional alpha channel for a layer. A number of ifferent types of masks are allowed for initialisation: completely white masks (which will leave the layer fully visible), completely black masks (which will give the layer complete transparency, the layer's already existing alpha channel (which will leave the layer fully visible, but which may be more useful than a white mask), the current selection or a grayscale copy of the layer. The layer mask still needs to be added to the layer. This can be done with a call to 'gimp-layer-add-mask'.", + "This procedure creates a layer mask for the specified layer. Layer masks serve as an additional alpha channel for a layer. A number of different types of masks are allowed for initialisation: completely white masks (which will leave the layer fully visible), completely black masks (which will give the layer complete transparency, the layer's already existing alpha channel (which will leave the layer fully visible, but which may be more useful than a white mask), the current selection or a grayscale copy of the layer. The layer mask still needs to be added to the layer. This can be done with a call to 'gimp-layer-add-mask'.", "Spencer Kimball & Peter Mattis", "Spencer Kimball & Peter Mattis", "1995-1996", @@ -1264,7 +1264,7 @@ register_layer_procs (GimpPDB *pdb) gimp_procedure_set_static_strings (procedure, "gimp-layer-add-mask", "Add a layer mask to the specified layer.", - "This procedure adds a layer mask to the specified layer. Layer masks serve as an additional alpha channel for a layer. This procedure will fail if a number of prerequisites aren't met. The layer cannot already have a layer mask. The specified mask must exist and have the same dimensions as the layer. Both the mask and the layer must have been created for use with the specified image.", + "This procedure adds a layer mask to the specified layer. Layer masks serve as an additional alpha channel for a layer. This procedure will fail if a number of prerequisites aren't met. The layer cannot already have a layer mask. The specified mask must exist and have the same dimensions as the layer. The layer must have been created for use with the specified image and the mask must have been created with the procedure 'gimp-layer-create-mask'.", "Spencer Kimball & Peter Mattis", "Spencer Kimball & Peter Mattis", "1995-1996", diff --git a/libgimp/gimplayer_pdb.c b/libgimp/gimplayer_pdb.c index 44d9de1b9d..560b55ed45 100644 --- a/libgimp/gimplayer_pdb.c +++ b/libgimp/gimplayer_pdb.c @@ -389,7 +389,7 @@ gimp_layer_set_offsets (gint32 layer_ID, * * This procedure creates a layer mask for the specified layer. Layer * masks serve as an additional alpha channel for a layer. A number of - * ifferent types of masks are allowed for initialisation: completely + * different types of masks are allowed for initialisation: completely * white masks (which will leave the layer fully visible), completely * black masks (which will give the layer complete transparency, the * layer's already existing alpha channel (which will leave the layer @@ -497,8 +497,9 @@ gimp_layer_from_mask (gint32 mask_ID) * serve as an additional alpha channel for a layer. This procedure * will fail if a number of prerequisites aren't met. The layer cannot * already have a layer mask. The specified mask must exist and have - * the same dimensions as the layer. Both the mask and the layer must - * have been created for use with the specified image. + * the same dimensions as the layer. The layer must have been created + * for use with the specified image and the mask must have been created + * with the procedure 'gimp-layer-create-mask'. * * Returns: TRUE on success. */