summaryrefslogtreecommitdiff
path: root/gdk/gdkcontentformats.c
diff options
context:
space:
mode:
authorBilal Elmoussaoui <bil.elmoussaoui@gmail.com>2021-04-30 11:42:02 +0000
committerBilal Elmoussaoui <bil.elmoussaoui@gmail.com>2021-04-30 15:43:17 +0200
commite473e7a83a0f69f421a5ea5a9656e3f141318d8d (patch)
tree1843f19dbb87fd1e4878455bf37c0a7d9c517bf0 /gdk/gdkcontentformats.c
parentae3ae428a06425e9aa3b8182cccfc2e3568c9f33 (diff)
downloadgtk+-e473e7a83a0f69f421a5ea5a9656e3f141318d8d.tar.gz
gdk: fix content_formats_get_mime_types annotation
Diffstat (limited to 'gdk/gdkcontentformats.c')
-rw-r--r--gdk/gdkcontentformats.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdk/gdkcontentformats.c b/gdk/gdkcontentformats.c
index d8e590e14f..1f059f109f 100644
--- a/gdk/gdkcontentformats.c
+++ b/gdk/gdkcontentformats.c
@@ -480,7 +480,7 @@ gdk_content_formats_get_gtypes (const GdkContentFormats *formats,
/**
* gdk_content_formats_get_mime_types:
* @formats: a `GdkContentFormats`
- * @n_mime_types: (out) (allow-none): optional pointer to take the
+ * @n_mime_types: (out) (optional): optional pointer to take the
* number of mime types contained in the return value
*
* Gets the mime types included in @formats.
@@ -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 zero-terminated=1): %NULL-terminated array of
* interned strings of mime types included in @formats or %NULL
* if none.
*/