[glib: 10/16] docs: Fix some typos in GIO documentation comments



commit 873678985520d3291e4b79d927cf8c58008fd1ff
Author: Philip Withnall <withnall endlessm com>
Date:   Fri Nov 23 13:27:58 2018 +0000

    docs: Fix some typos in GIO documentation comments
    
    These were highlighted by warnings from gtk-doc about broken links.
    
    Signed-off-by: Philip Withnall <withnall endlessm com>

 gio/gappinfo.c | 2 +-
 gio/gvolume.c  | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gio/gappinfo.c b/gio/gappinfo.c
index 646b8ef2e..47cd73366 100644
--- a/gio/gappinfo.c
+++ b/gio/gappinfo.c
@@ -769,7 +769,7 @@ g_app_info_launch_default_for_uri (const char         *uri,
  * @uri: the uri to show
  * @context: (nullable): an optional #GAppLaunchContext
  * @cancellable: (nullable): a #GCancellable
- * @callback: (nullable): a #GASyncReadyCallback to call when the request is done
+ * @callback: (nullable): a #GAsyncReadyCallback to call when the request is done
  * @user_data: (nullable): data to pass to @callback
  *
  * Async version of g_app_info_launch_default_for_uri().
diff --git a/gio/gvolume.c b/gio/gvolume.c
index d3bd3b288..dd49df7d6 100644
--- a/gio/gvolume.c
+++ b/gio/gvolume.c
@@ -50,10 +50,10 @@
  * for credentials.
  *
  * The callback will be fired when the operation has resolved (either
- * with success or failure), and a #GAsyncReady structure will be
+ * with success or failure), and a #GAsyncResult instance will be
  * passed to the callback.  That callback should then call
  * g_volume_mount_finish() with the #GVolume instance and the
- * #GAsyncReady data to see if the operation was completed
+ * #GAsyncResult data to see if the operation was completed
  * successfully.  If an @error is present when g_volume_mount_finish()
  * is called, then it will be filled with any error information.
  *


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