[jsonrpc-glib/bilelmoussaoui/gi-docgen: 1/2] g-i: Remove unneeded not nullable annotations
- From: Bilal Elmoussaoui <bilelmoussaoui src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [jsonrpc-glib/bilelmoussaoui/gi-docgen: 1/2] g-i: Remove unneeded not nullable annotations
- Date: Sat, 5 Feb 2022 16:24:59 +0000 (UTC)
commit 256fcbef822d0ae226487b7bccfe41b29637d18e
Author: Bilal Elmoussaoui <belmouss redhat com>
Date: Sat Feb 5 17:16:47 2022 +0100
g-i: Remove unneeded not nullable annotations
It is assumed by default if no nullable annotation is set
src/jsonrpc-client.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/jsonrpc-client.c b/src/jsonrpc-client.c
index dec1d18..61eb9c9 100644
--- a/src/jsonrpc-client.c
+++ b/src/jsonrpc-client.c
@@ -511,8 +511,8 @@ jsonrpc_client_class_init (JsonrpcClientClass *klass)
/**
* JsonrpcClient::handle-call:
* @self: A #JsonrpcClient
- * @method: (not nullable): the method name
- * @id: (not nullable): The "id" field of the JSONRPC message
+ * @method: the method name
+ * @id: The "id" field of the JSONRPC message
* @params: (nullable): The "params" field of the JSONRPC message
*
* This signal is emitted when an RPC has been received from the peer we
@@ -586,7 +586,7 @@ jsonrpc_client_init (JsonrpcClient *self)
/**
* jsonrpc_client_new:
- * @io_stream: (not nullable): A [class@Gio.IOStream]
+ * @io_stream: A [class@Gio.IOStream]
*
* Creates a new #JsonrpcClient instance.
*
@@ -1482,7 +1482,7 @@ jsonrpc_client_reply_error_finish (JsonrpcClient *self,
/**
* jsonrpc_client_reply:
* @self: a #JsonrpcClient
- * @id: (transfer none) (not nullable): the id of the message to reply
+ * @id: (transfer none) the id of the message to reply
* @result: (transfer none) (nullable): the return value or %NULL
* @cancellable: (nullable): a #GCancellable, or %NULL
* @error: a #GError, or %NULL
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]