[glib: 5/7] gdbusconnection: Improve documentation formatting slightly




commit eb8d1c48261a4e3762ca283cf5b208ab05069109
Author: Philip Withnall <pwithnall endlessos org>
Date:   Tue Dec 15 09:14:20 2020 +0000

    gdbusconnection: Improve documentation formatting slightly
    
    Signed-off-by: Philip Withnall <pwithnall endlessos org>

 gio/gdbusconnection.c | 8 ++++----
 gio/gdbusconnection.h | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/gio/gdbusconnection.c b/gio/gdbusconnection.c
index 7a100f89a..5c5ef1718 100644
--- a/gio/gdbusconnection.c
+++ b/gio/gdbusconnection.c
@@ -885,7 +885,7 @@ g_dbus_connection_class_init (GDBusConnectionClass *klass)
    *
    * If you are constructing a #GDBusConnection and pass
    * %G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_SERVER in the
-   * #GDBusConnection:flags property then you MUST also set this
+   * #GDBusConnection:flags property then you **must** also set this
    * property to a valid guid.
    *
    * If you are constructing a #GDBusConnection and pass
@@ -5511,7 +5511,7 @@ register_with_closures_on_set_property (GDBusConnection *connection,
  * Version of g_dbus_connection_register_object() using closures instead of a
  * #GDBusInterfaceVTable for easier binding in other languages.
  *
- * Returns: 0 if @error is set, otherwise a registration id (never 0)
+ * Returns: 0 if @error is set, otherwise a registration ID (never 0)
  * that can be used with g_dbus_connection_unregister_object() .
  *
  * Since: 2.46
@@ -6860,8 +6860,8 @@ subtree_message_func (GDBusConnection *connection,
  * See this [server][gdbus-subtree-server] for an example of how to use
  * this method.
  *
- * Returns: 0 if @error is set, otherwise a subtree registration id (never 0)
- * that can be used with g_dbus_connection_unregister_subtree() .
+ * Returns: 0 if @error is set, otherwise a subtree registration ID (never 0)
+ * that can be used with g_dbus_connection_unregister_subtree()
  *
  * Since: 2.26
  */
diff --git a/gio/gdbusconnection.h b/gio/gdbusconnection.h
index 849bed96d..4bd3e9a4b 100644
--- a/gio/gdbusconnection.h
+++ b/gio/gdbusconnection.h
@@ -432,7 +432,7 @@ gboolean         g_dbus_connection_unregister_object          (GDBusConnection
  * specified (ie: to verify that the object path is valid).
  *
  * Hierarchies are not supported; the items that you return should not
- * contain the '/' character.
+ * contain the `/` character.
  *
  * The return value will be freed with g_strfreev().
  *


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