docs: Improve formatting of GVariant types in GResolverRecordType docs

Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
Philip Withnall 2019-04-26 12:15:55 +01:00
parent 38de3e9dc3
commit e036d1bb29

View File

@ -727,24 +727,24 @@ typedef enum {
* the variant tuples returned. * the variant tuples returned.
* *
* %G_RESOLVER_RECORD_SRV records are returned as variants with the signature * %G_RESOLVER_RECORD_SRV records are returned as variants with the signature
* '(qqqs)', containing a guint16 with the priority, a guint16 with the * `(qqqs)`, containing a `guint16` with the priority, a `guint16` with the
* weight, a guint16 with the port, and a string of the hostname. * weight, a `guint16` with the port, and a string of the hostname.
* *
* %G_RESOLVER_RECORD_MX records are returned as variants with the signature * %G_RESOLVER_RECORD_MX records are returned as variants with the signature
* '(qs)', representing a guint16 with the preference, and a string containing * `(qs)`, representing a `guint16` with the preference, and a string containing
* the mail exchanger hostname. * the mail exchanger hostname.
* *
* %G_RESOLVER_RECORD_TXT records are returned as variants with the signature * %G_RESOLVER_RECORD_TXT records are returned as variants with the signature
* '(as)', representing an array of the strings in the text record. * `(as)`, representing an array of the strings in the text record.
* *
* %G_RESOLVER_RECORD_SOA records are returned as variants with the signature * %G_RESOLVER_RECORD_SOA records are returned as variants with the signature
* '(ssuuuuu)', representing a string containing the primary name server, a * `(ssuuuuu)`, representing a string containing the primary name server, a
* string containing the administrator, the serial as a guint32, the refresh * string containing the administrator, the serial as a `guint32`, the refresh
* interval as guint32, the retry interval as a guint32, the expire timeout * interval as a `guint32`, the retry interval as a `guint32`, the expire timeout
* as a guint32, and the ttl as a guint32. * as a `guint32`, and the TTL as a `guint32`.
* *
* %G_RESOLVER_RECORD_NS records are returned as variants with the signature * %G_RESOLVER_RECORD_NS records are returned as variants with the signature
* '(s)', representing a string of the hostname of the name server. * `(s)`, representing a string of the hostname of the name server.
* *
* Since: 2.34 * Since: 2.34
*/ */