[glib] docs: Fix some odd grammar in the GDBusError documentation
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] docs: Fix some odd grammar in the GDBusError documentation
- Date: Fri, 5 Jan 2018 19:30:13 +0000 (UTC)
commit 32b2ab9492b42eb957a3cd99e640493730c23ebc
Author: Philip Withnall <withnall endlessm com>
Date: Fri Jan 5 19:29:35 2018 +0000
docs: Fix some odd grammar in the GDBusError documentation
Signed-off-by: Philip Withnall <withnall endlessm com>
Reviewed-by: nobody
gio/gdbuserror.c | 4 ++--
gio/gdbuserror.h | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gio/gdbuserror.c b/gio/gdbuserror.c
index 95949ea..f2778d2 100644
--- a/gio/gdbuserror.c
+++ b/gio/gdbuserror.c
@@ -101,9 +101,9 @@
* of %G_IO_ERROR_DBUS_ERROR. Note that GDBus clients can still recover
* org.project.Foo.Bar.Error.AnotherError using g_dbus_error_get_remote_error().
*
- * Note that errors in the %G_DBUS_ERROR error domain is intended only
+ * Note that the %G_DBUS_ERROR error domain is intended only
* for returning errors from a remote message bus process. Errors
- * generated locally in-process by e.g. #GDBusConnection is from the
+ * generated locally in-process by e.g. #GDBusConnection should use the
* %G_IO_ERROR domain.
*/
diff --git a/gio/gdbuserror.h b/gio/gdbuserror.h
index f30c7e1..35a156c 100644
--- a/gio/gdbuserror.h
+++ b/gio/gdbuserror.h
@@ -36,9 +36,9 @@ G_BEGIN_DECLS
* in this domain will be from the #GDBusError enumeration. See
* #GError for more information on error domains.
*
- * Note that errors in this error domain is intended only for
+ * Note that this error domain is intended only for
* returning errors from a remote message bus process. Errors
- * generated locally in-process by e.g. #GDBusConnection is from the
+ * generated locally in-process by e.g. #GDBusConnection should use the
* %G_IO_ERROR domain.
*
* Since: 2.26
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]