[gimp] app: fix gimp_layer_new() API docs



commit feb4b9cfe96c6370b52305250faffb5eabe9727a
Author: Michael Natterer <mitch gimp org>
Date:   Mon Apr 9 01:33:21 2012 +0200

    app: fix gimp_layer_new() API docs

 app/core/gimplayer.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/app/core/gimplayer.c b/app/core/gimplayer.c
index 60caf49..34b9586 100644
--- a/app/core/gimplayer.c
+++ b/app/core/gimplayer.c
@@ -1052,7 +1052,7 @@ gimp_layer_new (GimpImage            *image,
  * gimp_layer_new_from_buffer:
  * @buffer:     The buffer to make the new layer from.
  * @dest_image: The image the new layer will be added to.
- * @type:       The #GimpImageType of the new layer.
+ * @format:     The #Babl format of the new layer.
  * @name:       The new layer's name.
  * @opacity:    The new layer's opacity.
  * @mode:       The new layer's mode.
@@ -1097,7 +1097,7 @@ gimp_layer_new_from_buffer (GeglBuffer           *buffer,
  * gimp_layer_new_from_pixbuf:
  * @pixbuf:     The pixbuf to make the new layer from.
  * @dest_image: The image the new layer will be added to.
- * @type:       The #GimpImageType of the new layer.
+ * @format:     The #Babl format of the new layer.
  * @name:       The new layer's name.
  * @opacity:    The new layer's opacity.
  * @mode:       The new layer's mode.



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