[glib] Remove a few overlooked literals



commit 63777d0c63d23c201affc8e2ea8a046a7d4390f5
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Feb 6 16:59:49 2014 -0500

    Remove a few overlooked literals

 gio/gdbusproxy.c         |   23 +++++++++++------------
 gio/ginetsocketaddress.c |    6 +++---
 2 files changed, 14 insertions(+), 15 deletions(-)
---
diff --git a/gio/gdbusproxy.c b/gio/gdbusproxy.c
index 7cbba56..7cbdc7b 100644
--- a/gio/gdbusproxy.c
+++ b/gio/gdbusproxy.c
@@ -794,20 +794,19 @@ g_dbus_proxy_get_cached_property (GDBusProxy   *proxy,
  *                                                  42));
  * ]|
  *
- * Normally you will not need to use this method since @proxy is
- * tracking changes using the
- * <literal>org.freedesktop.DBus.Properties.PropertiesChanged</literal>
- * D-Bus signal. However, for performance reasons an object may decide
- * to not use this signal for some properties and instead use a
- * proprietary out-of-band mechanism to transmit changes.
+ * Normally you will not need to use this method since @proxy
+ * is tracking changes using the
+ * `org.freedesktop.DBus.Properties.PropertiesChanged`
+ * D-Bus signal. However, for performance reasons an object may
+ * decide to not use this signal for some properties and instead
+ * use a proprietary out-of-band mechanism to transmit changes.
  *
  * As a concrete example, consider an object with a property
- * <literal>ChatroomParticipants</literal> which is an array of
- * strings. Instead of transmitting the same (long) array every time
- * the property changes, it is more efficient to only transmit the
- * delta using e.g. signals <literal>ChatroomParticipantJoined(String
- * name)</literal> and <literal>ChatroomParticipantParted(String
- * name)</literal>.
+ * `ChatroomParticipants` which is an array of strings. Instead of
+ * transmitting the same (long) array every time the property changes,
+ * it is more efficient to only transmit the delta using e.g. signals
+ * `ChatroomParticipantJoined(String name)` and
+ * `ChatroomParticipantParted(String name)`.
  *
  * Since: 2.26
  */
diff --git a/gio/ginetsocketaddress.c b/gio/ginetsocketaddress.c
index fde4b2d..818f877 100644
--- a/gio/ginetsocketaddress.c
+++ b/gio/ginetsocketaddress.c
@@ -285,7 +285,7 @@ g_inet_socket_address_class_init (GInetSocketAddressClass *klass)
   /**
    * GInetSocketAddress:scope_id:
    *
-   * The <literal>sin6_scope_id</literal> field, for IPv6 addresses.
+   * The `sin6_scope_id` field, for IPv6 addresses.
    *
    * Since: 2.32
    */
@@ -370,7 +370,7 @@ g_inet_socket_address_get_port (GInetSocketAddress *address)
  * g_inet_socket_address_get_flowinfo:
  * @address: a %G_SOCKET_FAMILY_IPV6 #GInetSocketAddress
  *
- * Gets the <literal>sin6_flowinfo</literal> field from @address,
+ * Gets the `sin6_flowinfo` field from @address,
  * which must be an IPv6 address.
  *
  * Return value: the flowinfo field
@@ -390,7 +390,7 @@ g_inet_socket_address_get_flowinfo (GInetSocketAddress *address)
  * g_inet_socket_address_get_scope_id:
  * @address: a %G_SOCKET_FAMILY_IPV6 #GInetAddress
  *
- * Gets the <literal>sin6_scope_id</literal> field from @address,
+ * Gets the `sin6_scope_id` field from @address,
  * which must be an IPv6 address.
  *
  * Return value: the scope id field


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]