[gimp] Correction to help text for the gimp-insert-layer-* PDB procedures.



commit b890cd39afc1b94fcdeb0e0a2279a8cb1d49aadb
Author: Kevin Cozens <kcozens cvs gnome org>
Date:   Tue Mar 1 11:09:56 2011 -0500

    Correction to help text for the gimp-insert-layer-* PDB procedures.

 tools/pdbgen/pdb/image.pdb |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/tools/pdbgen/pdb/image.pdb b/tools/pdbgen/pdb/image.pdb
index 6c4edf5..4764a90 100644
--- a/tools/pdbgen/pdb/image.pdb
+++ b/tools/pdbgen/pdb/image.pdb
@@ -1074,11 +1074,11 @@ sub image_insert_layer {
 This procedure adds the specified layer to the image at the given
 position. If the specified parent is a valid layer group (See
 gimp_item_is_group() and gimp_layer_group_new()) then the layer is
-added inside the group. If the parent is NULL, the layer is added
+added inside the group. If the parent is 0, the layer is added
 inside the main stack, outside of any group. The position argument
 specifies the location of the layer inside the stack (or the group, if
 a valid parent was supplied), starting from the top (0) and increasing.
-If the position is specified as -1 and the parent is specified as NULL,
+If the position is specified as -1 and the parent is specified as 0,
 then the layer is inserted above the active layer. The layer type must
 be compatible with the image base type.
 HELP
@@ -1236,7 +1236,7 @@ sub image_insert_channel {
     $help = <<'HELP';
 This procedure adds the specified channel to the image at the given
 position. Since channel groups are not currently supported, the parent
-argument must always be NULL. The position argument specifies the
+argument must always be 0. The position argument specifies the
 location of the channel inside the stack, starting from the top (0) and
 increasing. If the position is specified as -1, then the channel is
 inserted above the active channel.
@@ -1338,7 +1338,7 @@ sub image_insert_vectors {
     $help = <<'HELP';
 This procedure adds the specified vectors to the image at the given
 position. Since vectors groups are not currently supported, the parent
-argument must always be NULL. The position argument specifies the
+argument must always be 0. The position argument specifies the
 location of the vectors inside the stack, starting from the top (0) and
 increasing. If the position is specified as -1, then the vectors is
 inserted above the active vectors.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]