[gimp] libgimp: fix annotations of gimp_image_list(_selected)_layers.
- From: Jacob Boerema <jboerema src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] libgimp: fix annotations of gimp_image_list(_selected)_layers.
- Date: Sat, 6 Mar 2021 17:11:41 +0000 (UTC)
commit 43b25781dcec511f36a0bcec1c6863354bf54d0b
Author: Jacob Boerema <jgboerema gmail com>
Date: Sat Mar 6 12:10:57 2021 -0500
libgimp: fix annotations of gimp_image_list(_selected)_layers.
Looks like a copy paste error where element-type was
specified as GimpImage instead of GimpLayer.
libgimp/gimpimage.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libgimp/gimpimage.c b/libgimp/gimpimage.c
index fc8bb9495c..e6c59ffb05 100644
--- a/libgimp/gimpimage.c
+++ b/libgimp/gimpimage.c
@@ -227,7 +227,7 @@ gimp_list_images (void)
* This procedure returns the list of layers contained in the specified
* image. The order of layers is from topmost to bottommost.
*
- * Returns: (element-type GimpImage) (transfer container):
+ * Returns: (element-type GimpLayer) (transfer container):
* The list of layers contained in the image.
* The returned list must be freed with g_list_free(). Layer
* elements belong to libgimp and must not be freed.
@@ -261,7 +261,7 @@ gimp_image_list_layers (GimpImage *image)
* This procedure returns the list of layers selected in the specified
* image.
*
- * Returns: (element-type GimpImage) (transfer container):
+ * Returns: (element-type GimpLayer) (transfer container):
* The list of layers contained in the image.
* The returned list must be freed with g_list_free(). Layer
* elements belong to libgimp and must not be freed.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]