[gtk/bilelmoussaoui/gdk-content-formats-annotations] gdk: add length annotation to gdk_content_formats_get_mime_types




commit ff42f2247f8bc04d0446100779da39f02ac23f29
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date:   Fri Apr 30 11:42:02 2021 +0000

    gdk: add length annotation to gdk_content_formats_get_mime_types

 gdk/gdkcontentformats.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gdk/gdkcontentformats.c b/gdk/gdkcontentformats.c
index d8e590e14f..89a25dbaa3 100644
--- a/gdk/gdkcontentformats.c
+++ b/gdk/gdkcontentformats.c
@@ -488,7 +488,7 @@ gdk_content_formats_get_gtypes (const GdkContentFormats *formats,
  * Note that @formats may not contain any mime types, in particular
  * when they are empty. In that case %NULL will be returned.
  *
- * Returns: (transfer none) (nullable): %NULL-terminated array of
+ * Returns: (transfer none) (nullable) (array length=n_mime_types): %NULL-terminated array of
  *     interned strings of mime types included in @formats or %NULL
  *     if none.
  */


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