From: Matthias Clasen Date: Fri, 20 Aug 2021 12:57:27 +0000 (-0400) Subject: gdk: Add a missing annotation X-Git-Tag: archive/raspbian/4.4.1+ds1-2+rpi1^2~18^2~1^2~4^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=d8ab5c3c45a9b418940326b1551a5a0af3c88b50;p=gtk4.git gdk: Add a missing annotation Mark an array as zero-terminated. Fixes: #4097 --- 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