From d8ab5c3c45a9b418940326b1551a5a0af3c88b50 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 20 Aug 2021 08:57:27 -0400 Subject: [PATCH] gdk: Add a missing annotation Mark an array as zero-terminated. Fixes: #4097 --- gdk/gdkclipboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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