[gtk/gtk-4-2: 83/91] gdk: add zero-terminated annotation to content_formats_get_gtypes
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/gtk-4-2: 83/91] gdk: add zero-terminated annotation to content_formats_get_gtypes
- Date: Tue, 4 May 2021 02:05:42 +0000 (UTC)
commit fdb277657796a0f42352527fd9caf69d5f4cc7a3
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]