docs: Stop formatting integer literals using ‘%’

It makes gtk-doc try to link them.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
Philip Withnall 2019-03-07 17:29:44 +00:00
parent 1a8f8be6d0
commit 1f3375235b
3 changed files with 3 additions and 3 deletions

View File

@ -1045,7 +1045,7 @@ g_input_stream_skip_async (GInputStream *stream,
*
* Finishes a stream skip operation.
*
* Returns: the size of the bytes skipped, or %-1 on error.
* Returns: the size of the bytes skipped, or `-1` on error.
**/
gssize
g_input_stream_skip_finish (GInputStream *stream,

View File

@ -799,7 +799,7 @@ g_mount_operation_set_password_save (GMountOperation *op,
* Gets a choice from the mount operation.
*
* Returns: an integer containing an index of the user's choice from
* the choice's list, or %0.
* the choice's list, or `0`.
**/
int
g_mount_operation_get_choice (GMountOperation *op)

View File

@ -457,7 +457,7 @@ g_socket_client_get_protocol (GSocketClient *client)
* The sockets created by this object will use of the specified
* protocol.
*
* If @protocol is %0 that means to use the default
* If @protocol is %G_SOCKET_PROTOCOL_DEFAULT that means to use the default
* protocol for the socket family and type.
*
* Since: 2.22