[gtk/bilelmoussaoui/gdk-content-formats-annotations: 2/2] gdk: add zero-terminated annotation to content_formats_get_gtypes
- From: Bilal Elmoussaoui <bilelmoussaoui src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/bilelmoussaoui/gdk-content-formats-annotations: 2/2] gdk: add zero-terminated annotation to content_formats_get_gtypes
- Date: Fri, 30 Apr 2021 13:41:31 +0000 (UTC)
commit 8a879d4051aa2661c06b24a4aa70b79c9746f972
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date: Fri Apr 30 15:40:27 2021 +0200
gdk: add zero-terminated annotation to content_formats_get_gtypes
gdk/gdkcontentformats.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gdk/gdkcontentformats.c b/gdk/gdkcontentformats.c
index 1f059f109f..9bfaca1f8b 100644
--- a/gdk/gdkcontentformats.c
+++ b/gdk/gdkcontentformats.c
@@ -461,7 +461,7 @@ gdk_content_formats_contain_mime_type (const GdkContentFormats *formats,
* Note that @formats may not contain any #GTypes, in particular when
* they are empty. In that case %NULL will be returned.
*
- * Returns: (transfer none) (nullable) (array length=n_gtypes):
+ * Returns: (transfer none) (nullable) (array length=n_gtypes zero-terminated=1):
* %G_TYPE_INVALID-terminated array of types included in @formats or
* %NULL if none.
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]