gdk: Add a missing annotation

Mark an array as zero-terminated.

Fixes: #4097
This commit is contained in:
Matthias Clasen 2021-08-20 08:57:27 -04:00
parent 36d1c9e8b7
commit d8ab5c3c45

View File

@ -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