[gimp] Commiting auto-generated files with recently corrected PDB help text.



commit 8438bc5bb7b048edb39721888195f30015cdb908
Author: Kevin Cozens <kcozens cvs gnome org>
Date:   Tue Mar 1 17:06:59 2011 -0500

    Commiting auto-generated files with recently corrected PDB help text.

 app/pdb/image-cmds.c    |    6 +++---
 libgimp/gimpimage_pdb.c |   10 +++++-----
 2 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/app/pdb/image-cmds.c b/app/pdb/image-cmds.c
index 4c35c60..9073afd 100644
--- a/app/pdb/image-cmds.c
+++ b/app/pdb/image-cmds.c
@@ -3369,7 +3369,7 @@ register_image_procs (GimpPDB *pdb)
   gimp_procedure_set_static_strings (procedure,
                                      "gimp-image-insert-layer",
                                      "Add the specified layer to the image.",
-                                     "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 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, then the layer is inserted above the active layer. 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 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 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 0, 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",
@@ -3474,7 +3474,7 @@ register_image_procs (GimpPDB *pdb)
   gimp_procedure_set_static_strings (procedure,
                                      "gimp-image-insert-channel",
                                      "Add the specified channel to the image.",
-                                     "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 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.",
+                                     "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 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.",
                                      "Spencer Kimball & Peter Mattis",
                                      "Spencer Kimball & Peter Mattis",
                                      "1995-1996",
@@ -3579,7 +3579,7 @@ register_image_procs (GimpPDB *pdb)
   gimp_procedure_set_static_strings (procedure,
                                      "gimp-image-insert-vectors",
                                      "Add the specified vectors to the image.",
-                                     "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 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.",
+                                     "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 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.",
                                      "Spencer Kimball & Peter Mattis",
                                      "Spencer Kimball & Peter Mattis",
                                      "1995-1996",
diff --git a/libgimp/gimpimage_pdb.c b/libgimp/gimpimage_pdb.c
index 67ea72d..dce52fa 100644
--- a/libgimp/gimpimage_pdb.c
+++ b/libgimp/gimpimage_pdb.c
@@ -1007,13 +1007,13 @@ gimp_image_add_layer (gint32 image_ID,
  * 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, then the layer is inserted above the active
- * layer. The layer type must be compatible with the image base type.
+ * specified as 0, then the layer is inserted above the active layer.
+ * The layer type must be compatible with the image base type.
  *
  * Returns: TRUE on success.
  **/
@@ -1122,7 +1122,7 @@ gimp_image_add_channel (gint32 image_ID,
  *
  * 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
+ * parent 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.
@@ -1231,7 +1231,7 @@ gimp_image_add_vectors (gint32 image_ID,
  *
  * 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
+ * parent 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]