fix documentation of edit_mask accessors.

2005-03-04  Manish Singh  <yosh@gimp.org>

        * tools/pdbgen/pdb/layer.pdb: fix documentation of edit_mask
        accessors.

        * libgimp/gimplayer_pdb.c
        * app/pdb/layer_cmds.c: regenerated.
This commit is contained in:
Manish Singh 2005-03-05 06:12:47 +00:00 committed by Manish Singh
parent 87ae847598
commit 838cf193d7
4 changed files with 21 additions and 13 deletions
ChangeLog
app/pdb
libgimp
tools/pdbgen/pdb

View File

@ -1,3 +1,11 @@
2005-03-04 Manish Singh <yosh@gimp.org>
* tools/pdbgen/pdb/layer.pdb: fix documentation of edit_mask
accessors.
* libgimp/gimplayer_pdb.c
* app/pdb/layer_cmds.c: regenerated.
2005-03-05 Sven Neumann <sven@gimp.org>
* plug-ins/metadata/interface.c: specify alternative button order

View File

@ -1522,15 +1522,15 @@ static ProcArg layer_get_edit_mask_outargs[] =
{
GIMP_PDB_INT32,
"edit_mask",
"The layer show mask"
"The layer edit mask"
}
};
static ProcRecord layer_get_edit_mask_proc =
{
"gimp_layer_get_edit_mask",
"Get the show mask of the specified layer.",
"This procedure returns the specified layer's show mask. If the value is non-zero, then the layer mask for this layer is currently active, and not the layer.",
"Get the edit mask of the specified layer.",
"This procedure returns the specified layer's edit mask. If the value is non-zero, then the layer mask for this layer is currently active, and not the layer.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -1575,15 +1575,15 @@ static ProcArg layer_set_edit_mask_inargs[] =
{
GIMP_PDB_INT32,
"edit_mask",
"The new layer show mask"
"The new layer edit mask"
}
};
static ProcRecord layer_set_edit_mask_proc =
{
"gimp_layer_set_edit_mask",
"Set the show mask of the specified layer.",
"This procedure sets the specified layer's show mask. This controls whether the layer or it's mask is currently active for editing. If the specified layer has no layer mask, then this procedure will return an error.",
"Set the edit mask of the specified layer.",
"This procedure sets the specified layer's edit mask. This controls whether the layer or it's mask is currently active for editing. If the specified layer has no layer mask, then this procedure will return an error.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",

View File

@ -789,13 +789,13 @@ gimp_layer_set_show_mask (gint32 layer_ID,
* gimp_layer_get_edit_mask:
* @layer_ID: The layer.
*
* Get the show mask of the specified layer.
* Get the edit mask of the specified layer.
*
* This procedure returns the specified layer's show mask. If the value
* This procedure returns the specified layer's edit mask. If the value
* is non-zero, then the layer mask for this layer is currently active,
* and not the layer.
*
* Returns: The layer show mask.
* Returns: The layer edit mask.
*/
gboolean
gimp_layer_get_edit_mask (gint32 layer_ID)
@ -820,11 +820,11 @@ gimp_layer_get_edit_mask (gint32 layer_ID)
/**
* gimp_layer_set_edit_mask:
* @layer_ID: The layer.
* @edit_mask: The new layer show mask.
* @edit_mask: The new layer edit mask.
*
* Set the show mask of the specified layer.
* Set the edit mask of the specified layer.
*
* This procedure sets the specified layer's show mask. This controls
* This procedure sets the specified layer's edit mask. This controls
* whether the layer or it's mask is currently active for editing. If
* the specified layer has no layer mask, then this procedure will
* return an error.

View File

@ -599,7 +599,7 @@ function returns an error.
HELP
CODE2
&layer_accessors('edit_mask', 'boolean', 'show mask', 0, 0,
&layer_accessors('edit_mask', 'boolean', 'edit mask', 0, 0,
[ <<'CODE1', <<'CODE2' ]);
$help .= <<'HELP';
If the value is non-zero, then the layer mask for this layer is currently