[glib] giostream: Fix some typos in the GIOStream documentation
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] giostream: Fix some typos in the GIOStream documentation
- Date: Mon, 28 Sep 2015 12:02:40 +0000 (UTC)
commit 21809c8c0fdf72b5859faeb1781ff3edc121120a
Author: Philip Withnall <philip withnall collabora co uk>
Date: Fri Sep 26 13:45:00 2014 +0100
giostream: Fix some typos in the GIOStream documentation
This doesn’t change the meaning of the documentation.
https://bugzilla.gnome.org/show_bug.cgi?id=735754
gio/giostream.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/gio/giostream.c b/gio/giostream.c
index 185062f..e4cb6f1 100644
--- a/gio/giostream.c
+++ b/gio/giostream.c
@@ -36,12 +36,12 @@
* @see_also: #GInputStream, #GOutputStream
*
* GIOStream represents an object that has both read and write streams.
- * Generally the two streams acts as separate input and output streams,
+ * Generally the two streams act as separate input and output streams,
* but they share some common resources and state. For instance, for
- * seekable streams they may use the same position in both streams.
+ * seekable streams, both streams may use the same position.
*
- * Examples of #GIOStream objects are #GSocketConnection which represents
- * a two-way network connection, and #GFileIOStream which represent a
+ * Examples of #GIOStream objects are #GSocketConnection, which represents
+ * a two-way network connection; and #GFileIOStream, which represents a
* file handle opened in read-write mode.
*
* To do the actual reading and writing you need to get the substreams
@@ -50,8 +50,8 @@
* The #GIOStream object owns the input and the output streams, not the other
* way around, so keeping the substreams alive will not keep the #GIOStream
* object alive. If the #GIOStream object is freed it will be closed, thus
- * closing the substream, so even if the substreams stay alive they will
- * always just return a %G_IO_ERROR_CLOSED for all operations.
+ * closing the substreams, so even if the substreams stay alive they will
+ * always return %G_IO_ERROR_CLOSED for all operations.
*
* To close a stream use g_io_stream_close() which will close the common
* stream object and also the individual substreams. You can also close
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]