[glib: 1/2] gio: Fix minor docs mistakes
- From: Nirbheek Chauhan <nirbheekc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 1/2] gio: Fix minor docs mistakes
- Date: Mon, 15 Jul 2019 23:39:37 +0000 (UTC)
commit ce9ea30b1d821a13b860843637b5e44bdf3492da
Author: Matthew Leeds <matthew leeds endlessm com>
Date: Mon Jul 15 16:02:09 2019 -0700
gio: Fix minor docs mistakes
gio/gasyncresult.h | 2 +-
gio/gdbusconnection.c | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/gio/gasyncresult.h b/gio/gasyncresult.h
index 7ea9e3978..956cbc473 100644
--- a/gio/gasyncresult.h
+++ b/gio/gasyncresult.h
@@ -38,7 +38,7 @@ G_BEGIN_DECLS
* GAsyncResult:
*
* Holds results information for an asynchronous operation,
- * usually passed directly to a asynchronous _finish() operation.
+ * usually passed directly to an asynchronous _finish() operation.
**/
typedef struct _GAsyncResultIface GAsyncResultIface;
diff --git a/gio/gdbusconnection.c b/gio/gdbusconnection.c
index 26bfc00ac..6ae1e21ce 100644
--- a/gio/gdbusconnection.c
+++ b/gio/gdbusconnection.c
@@ -2696,7 +2696,7 @@ async_initable_iface_init (GAsyncInitableIface *async_initable_iface)
* then call g_dbus_connection_new_finish() to get the result of the
* operation.
*
- * This is a asynchronous failable constructor. See
+ * This is an asynchronous failable constructor. See
* g_dbus_connection_new_sync() for the synchronous
* version.
*
@@ -2835,13 +2835,13 @@ g_dbus_connection_new_sync (GIOStream *stream,
* %G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_ALLOW_ANONYMOUS flags.
*
* When the operation is finished, @callback will be invoked. You can
- * then call g_dbus_connection_new_finish() to get the result of the
- * operation.
+ * then call g_dbus_connection_new_for_address_finish() to get the result of
+ * the operation.
*
* If @observer is not %NULL it may be used to control the
* authentication process.
*
- * This is a asynchronous failable constructor. See
+ * This is an asynchronous failable constructor. See
* g_dbus_connection_new_for_address_sync() for the synchronous
* version.
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]