summaryrefslogtreecommitdiff
path: root/gdk/gdkclipboard.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-08-20 08:57:27 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-08-20 08:57:27 -0400
commitd8ab5c3c45a9b418940326b1551a5a0af3c88b50 (patch)
tree42f892677b13d5736b52981f9cedebc2155dc536 /gdk/gdkclipboard.c
parent36d1c9e8b7d9ab6728ea7d83af117579145591bb (diff)
downloadgtk+-d8ab5c3c45a9b418940326b1551a5a0af3c88b50.tar.gz
gdk: Add a missing annotation
Mark an array as zero-terminated. Fixes: #4097
Diffstat (limited to 'gdk/gdkclipboard.c')
-rw-r--r--gdk/gdkclipboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/gdkclipboard.c b/gdk/gdkclipboard.c
index 5bb58175df..bbd1a1fde5 100644
--- a/gdk/gdkclipboard.c
+++ b/gdk/gdkclipboard.c
@@ -635,7 +635,7 @@ gdk_clipboard_read_internal (GdkClipboard *clipboard,
/**
* gdk_clipboard_read_async:
* @clipboard: a `GdkClipboard`
- * @mime_types: a %NULL-terminated array of mime types to choose from
+ * @mime_types: (array zero-terminated=1): a %NULL-terminated array of mime types to choose from
* @io_priority: the I/O priority of the request
* @cancellable: (nullable): optional `GCancellable` object
* @callback: (scope async): callback to call when the request is satisfied