From d268d9f86ad39328a20567ffa8b6e1cc7e1d0205 Mon Sep 17 00:00:00 2001 From: Rico Tzschichholz Date: Mon, 23 Nov 2015 11:16:29 +0100 Subject: [PATCH] socket: Fix annotation of g_socket_receive_message https://bugzilla.gnome.org/show_bug.cgi?id=761337 --- gio/gsocket.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gio/gsocket.c b/gio/gsocket.c index af080400d..e7f210139 100644 --- a/gio/gsocket.c +++ b/gio/gsocket.c @@ -5220,16 +5220,16 @@ g_socket_receive_messages_with_timeout (GSocket *socket, /** * g_socket_receive_message: * @socket: a #GSocket - * @address: (out) (allow-none): a pointer to a #GSocketAddress + * @address: (out) (nullable): a pointer to a #GSocketAddress * pointer, or %NULL * @vectors: (array length=num_vectors): an array of #GInputVector structs * @num_vectors: the number of elements in @vectors, or -1 - * @messages: (array length=num_messages) (allow-none): a pointer which + * @messages: (array length=num_messages) (out) (nullable): a pointer which * may be filled with an array of #GSocketControlMessages, or %NULL - * @num_messages: a pointer which will be filled with the number of + * @num_messages: (out): a pointer which will be filled with the number of * elements in @messages, or %NULL - * @flags: a pointer to an int containing #GSocketMsgFlags flags - * @cancellable: (allow-none): a %GCancellable or %NULL + * @flags: (inout): a pointer to an int containing #GSocketMsgFlags flags + * @cancellable: a %GCancellable or %NULL * @error: a #GError pointer, or %NULL * * Receive data from a socket. For receiving multiple messages, see