glib r6322 - trunk/gio



Author: murrayc
Date: Wed Jan 16 20:00:23 2008
New Revision: 6322
URL: http://svn.gnome.org/viewvc/glib?rev=6322&view=rev

Log:
2008-01-16  Murray Cumming  <murrayc murrayc com>

* gappinfo.c:
* gdatainputstream.c:
* gfile.c:
* gfileoutputstream.c:
* ginputstream.c:
* gmount.c:
* goutputstream.c:
* gseekable.c:
* gunixmounts.c: Corrected some typos in the documentation:
occured -> occurred.
its -> it's (where appropriate).

Modified:
   trunk/gio/ChangeLog
   trunk/gio/gappinfo.c
   trunk/gio/gdatainputstream.c
   trunk/gio/gfile.c
   trunk/gio/gfileoutputstream.c
   trunk/gio/ginputstream.c
   trunk/gio/gmount.c
   trunk/gio/goutputstream.c
   trunk/gio/gseekable.c
   trunk/gio/gunixmounts.c

Modified: trunk/gio/gappinfo.c
==============================================================================
--- trunk/gio/gappinfo.c	(original)
+++ trunk/gio/gappinfo.c	Wed Jan 16 20:00:23 2008
@@ -397,7 +397,7 @@
  * 
  * Launches the application. Passes @files to the launched application 
  * as arguments, using the optional @launch_context to get information
- * about the details of the launcher (like what screen its is on).
+ * about the details of the launcher (like what screen it is on).
  * On error, @error will be set accordingly.
  *
  * To lauch the application without arguments pass a %NULL @files list.
@@ -475,7 +475,7 @@
  * 
  * Launches the application. Passes @uris to the launched application 
  * as arguments, using the optional @launch_context to get information
- * about the details of the launcher (like what screen its is on).
+ * about the details of the launcher (like what screen it is on).
  * On error, @error will be set accordingly.
  *
  * To lauch the application without arguments pass a %NULL @uris list.

Modified: trunk/gio/gdatainputstream.c
==============================================================================
--- trunk/gio/gdatainputstream.c	(original)
+++ trunk/gio/gdatainputstream.c	Wed Jan 16 20:00:23 2008
@@ -329,7 +329,7 @@
  * Reads an unsigned 8-bit/1-byte value from @stream.
  *
  * Returns: an unsigned 8-bit/1-byte value read from the @stream or %0 
- * if an error occured.
+ * if an error occurred.
  **/
 guchar
 g_data_input_stream_read_byte (GDataInputStream  *stream,
@@ -359,7 +359,7 @@
  * see g_data_stream_get_byte_order() and g_data_stream_set_byte_order().
  * 
  * Returns: a signed 16-bit/2-byte value read from @stream or %0 if 
- * an error occured.
+ * an error occurred.
  **/
 gint16
 g_data_input_stream_read_int16 (GDataInputStream  *stream,
@@ -403,7 +403,7 @@
  * see g_data_stream_get_byte_order() and g_data_stream_set_byte_order(). 
  * 
  * Returns: an unsigned 16-bit/2-byte value read from the @stream or %0 if 
- * an error occured. 
+ * an error occurred. 
  **/
 guint16
 g_data_input_stream_read_uint16 (GDataInputStream  *stream,
@@ -451,7 +451,7 @@
  * was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. 
  *   
  * Returns: a signed 32-bit/4-byte value read from the @stream or %0 if 
- * an error occured. 
+ * an error occurred. 
  **/
 gint32
 g_data_input_stream_read_int32 (GDataInputStream  *stream,
@@ -499,7 +499,7 @@
  * was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. 
  * 
  * Returns: an unsigned 32-bit/4-byte value read from the @stream or %0 if 
- * an error occured. 
+ * an error occurred. 
  **/
 guint32
 g_data_input_stream_read_uint32 (GDataInputStream  *stream,
@@ -547,7 +547,7 @@
  * was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. 
  * 
  * Returns: a signed 64-bit/8-byte value read from @stream or %0 if 
- * an error occured.  
+ * an error occurred.  
  **/
 gint64
 g_data_input_stream_read_int64 (GDataInputStream  *stream,
@@ -595,7 +595,7 @@
  * was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. 
  * 
  * Returns: an unsigned 64-bit/8-byte read from @stream or %0 if 
- * an error occured. 
+ * an error occurred. 
  **/
 guint64
 g_data_input_stream_read_uint64 (GDataInputStream  *stream,

Modified: trunk/gio/gfile.c
==============================================================================
--- trunk/gio/gfile.c	(original)
+++ trunk/gio/gfile.c	Wed Jan 16 20:00:23 2008
@@ -55,7 +55,7 @@
  * g_file_new_for_uri() if you have a URI.
  * g_file_new_for_commandline_arg() for a command line argument.
  * 
- * You can move through the filesystem with #GFile handles with
+ * You can move through the file system with #GFile handles with
  * g_file_get_parent() to get a handle to the parent directory.
  * g_file_get_child() to get a handle to a child within a directory.
  * g_file_resolve_relative_path() to resolve a relative path between
@@ -690,8 +690,8 @@
  * all the files in the directory.
  *
  * The @attribute value is a string that specifies the file attributes that
- * should be gathered. It is not an error if its not possible to read a particular
- * requested attribute from a file, it just won't be set. @attribute should
+ * should be gathered. It is not an error if it's not possible to read a particular
+ * requested attribute from a file - it just won't be set. @attribute should
  * be a comma-separated list of attribute or attribute wildcards. The wildcard "*"
  * means all attributes, and a wildcard like "standard::*" means all attributes in the standard
  * namespace. An example attribute query be "standard::*,owner::user".
@@ -873,8 +873,8 @@
  * for the file.
  *
  * The @attribute value is a string that specifies the file attributes that
- * should be gathered. It is not an error if its not possible to read a particular
- * requested attribute from a file, it just won't be set. @attribute should
+ * should be gathered. It is not an error if it's not possible to read a particular
+ * requested attribute from a file - it just won't be set. @attribute should
  * be a comma-separated list of attribute or attribute wildcards. The wildcard "*"
  * means all attributes, and a wildcard like "standard::*" means all attributes in the standard
  * namespace. An example attribute query be "standard::*,owner::user".
@@ -1012,8 +1012,8 @@
  * the filesystem.
  *
  * The @attribute value is a string that specifies the file attributes that
- * should be gathered. It is not an error if its not possible to read a particular
- * requested attribute from a file, it just won't be set. @attribute should
+ * should be gathered. It is not an error if it's not possible to read a particular
+ * requested attribute from a file - it just won't be set. @attribute should
  * be a comma-separated list of attribute or attribute wildcards. The wildcard "*"
  * means all attributes, and a wildcard like "fs:*" means all attributes in the fs
  * namespace. The standard namespace for filesystem attributes is "fs".

Modified: trunk/gio/gfileoutputstream.c
==============================================================================
--- trunk/gio/gfileoutputstream.c	(original)
+++ trunk/gio/gfileoutputstream.c	Wed Jan 16 20:00:23 2008
@@ -277,9 +277,9 @@
  * g_file_output_stream_get_etag:
  * @stream: a #GFileOutputStream.
  * 
- * Gets the entity tag for the file when its been written.
+ * Gets the entity tag for the file when it has been written.
  * This must be called after the stream has been written
- * and closed. As the etag can change while writing.
+ * and closed, as the etag can change while writing.
  * 
  * Returns: the entity tag for the stream.
  **/

Modified: trunk/gio/ginputstream.c
==============================================================================
--- trunk/gio/ginputstream.c	(original)
+++ trunk/gio/ginputstream.c	Wed Jan 16 20:00:23 2008
@@ -233,7 +233,7 @@
  * 
  * If there is an error during the operation %FALSE is returned and @error
  * is set to indicate the error status, @bytes_read is updated to contain
- * the number of bytes read into @buffer before the error occured.
+ * the number of bytes read into @buffer before the error occurred.
  *
  * Return value: %TRUE on success, %FALSE if there was an error
  **/

Modified: trunk/gio/gmount.c
==============================================================================
--- trunk/gio/gmount.c	(original)
+++ trunk/gio/gmount.c	Wed Jan 16 20:00:23 2008
@@ -44,7 +44,7 @@
  * porting from GnomeVFS, #GMount is the moral equivalent of #GnomeVFSVolume.
  *
  * #GMount is a "mounted" filesystem that you can access. Mounted is in
- * quotes because its not the same as a unix mount, it might be a gvfs
+ * quotes because it's not the same as a unix mount, it might be a gvfs
  * mount, but you can still access the files on it if you use GIO. Might or
  * might not be related to a volume object.
  * 
@@ -353,7 +353,7 @@
  * @error: a #GError location to store the error occuring, or %NULL to 
  * ignore.
  * 
- * Finishes unmounting a mount. If any errors occured during the operation, 
+ * Finishes unmounting a mount. If any errors occurred during the operation, 
  * @error will be set to contain the errors and %FALSE will be returned.
  * 
  * Returns: %TRUE if the mount was successfully unmounted. %FALSE otherwise.
@@ -425,7 +425,7 @@
  * @error: a #GError location to store the error occuring, or %NULL to 
  * ignore.
  * 
- * Finishes ejecting a mount. If any errors occured during the operation, 
+ * Finishes ejecting a mount. If any errors occurred during the operation, 
  * @error will be set to contain the errors and %FALSE will be returned.
  * 
  * Returns: %TRUE if the mount was successfully ejected. %FALSE otherwise.
@@ -502,7 +502,7 @@
  * @error: a #GError location to store the error occuring, or %NULL to 
  * ignore.
  * 
- * Finishes remounting a mount. If any errors occured during the operation, 
+ * Finishes remounting a mount. If any errors occurred during the operation, 
  * @error will be set to contain the errors and %FALSE will be returned.
  * 
  * Returns: %TRUE if the mount was successfully remounted. %FALSE otherwise.

Modified: trunk/gio/goutputstream.c
==============================================================================
--- trunk/gio/goutputstream.c	(original)
+++ trunk/gio/goutputstream.c	Wed Jan 16 20:00:23 2008
@@ -240,7 +240,7 @@
  * 
  * If there is an error during the operation FALSE is returned and @error
  * is set to indicate the error status, @bytes_written is updated to contain
- * the number of bytes written into the stream before the error occured.
+ * the number of bytes written into the stream before the error occurred.
  *
  * Return value: %TRUE on success, %FALSE if there was an error
  **/

Modified: trunk/gio/gseekable.c
==============================================================================
--- trunk/gio/gseekable.c	(original)
+++ trunk/gio/gseekable.c	Wed Jan 16 20:00:23 2008
@@ -132,7 +132,7 @@
  * was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. 
  * 
  * Returns: %TRUE if successful. If an error
- *     has occured, this function will return %FALSE and set @error
+ *     has occurred, this function will return %FALSE and set @error
  *     appropriately if present.
  **/
 gboolean
@@ -188,7 +188,7 @@
  * partial result will be returned, without an error.
  * 
  * Returns: %TRUE if successful. If an error
- *     has occured, this function will return %FALSE and set @error
+ *     has occurred, this function will return %FALSE and set @error
  *     appropriately if present. 
  **/
 gboolean

Modified: trunk/gio/gunixmounts.c
==============================================================================
--- trunk/gio/gunixmounts.c	(original)
+++ trunk/gio/gunixmounts.c	Wed Jan 16 20:00:23 2008
@@ -353,7 +353,7 @@
        *
        * We do this to avoid being fooled by --bind mounts, since
        * these have the same device as the location they bind to.
-       * Its not an ideal solution to the problem, but its likely that
+       * Its not an ideal solution to the problem, but it's likely that
        * the most important mountpoint is first and the --bind ones after
        * that aren't as important. So it should work.
        *



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