Fix "it's" vs "its" confusion throughout the source. Patch by Will
authorMatthias Clasen <matthiasc@src.gnome.org>
Mon, 23 Feb 2009 04:30:06 +0000 (04:30 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Mon, 23 Feb 2009 04:30:06 +0000 (04:30 +0000)
        * Fix "it's" vs "its" confusion throughout the source. Patch
        by Will Thompson.

svn path=/trunk/; revision=7897

22 files changed:
ChangeLog
gio/gdatainputstream.c
gio/gdesktopappinfo.c
gio/gdrive.c
gio/gfileinfo.c
gio/gfileinfo.h
gio/giomodule.c
gio/gioscheduler.c
gio/glocalfile.c
gio/glocalfileinfo.c
gio/gunionvolumemonitor.c
gio/gunixmounts.c
gio/gvolumemonitor.c
glib/gbase64.c
glib/gchecksum.c
gobject/gclosure.c
gobject/genums.h
gobject/glib-genmarshal.c
gobject/gobject.c
gobject/gparam.c
gobject/gparam.h
gobject/gtype.c

index 2a4f2e9849623f70efb707f337ed035ee2b9b1dc..45d884746eabfdf3129e1ba8fd7801e07e5f8845 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2009-02-22  Matthias Clasen  <mclasen@redhat.com>
+
+       Bug 572151 – “it's” and “its” confused in docs and comments
+
+       * Fix "it's" vs "its" confusion throughout the source. Patch
+       by Will Thompson.
+
 2009-02-22  Matthias Clasen  <mclasen@redhat.com>
 
        Bug 572464 – Doc for g_file_get_contents
index d61804babb6ee8dd115d82d69114b804f51862fd..9c4b6436f53c32c2e0d751a4ce7a2f35f5046ffe 100644 (file)
@@ -315,7 +315,7 @@ read_data (GDataInputStream  *stream,
        }
     }
   
-  /* This should always succeed, since its in the buffer */
+  /* This should always succeed, since it's in the buffer */
   res = g_input_stream_read (G_INPUT_STREAM (stream),
                             buffer, size,
                             NULL, NULL);
index 4cb21546d06414f3d5696972817cd9ed6b9784bb..e6386b35b86b07d22d65f0e01ccedba9437a677f 100644 (file)
@@ -1300,7 +1300,7 @@ update_mimeapps_list (const char  *desktop_id,
                list[i++] = g_strdup (old_list[j]);
              else if (add_non_default)
                {
-                 /* If adding as non-default, and its already in,
+                 /* If adding as non-default, and it's already in,
                     don't change order of desktop ids */
                  add_non_default = FALSE;
                  list[i++] = g_strdup (old_list[j]);
index adedf18a8fd727c0b8f5b8d2a7898214a3518cd5..94508195d337152459a1184fec1a32a13c79887f 100644 (file)
@@ -36,7 +36,7 @@
  * @include: gio/gio.h
  * 
  * #GDrive - this represent a piece of hardware connected to the machine.
- * Its generally only created for removable hardware or hardware with
+ * It's generally only created for removable hardware or hardware with
  * removable media. 
  *
  * #GDrive is a container class for #GVolume objects that stem from
index e4968d1e560083244935799e9d9fdf4191e59828..5131bdb3c4502a70fc45aed317d79f7bbd62a313 100644 (file)
@@ -410,7 +410,7 @@ g_file_info_find_place (GFileInfo  *info,
 {
   int min, max, med;
   GFileAttribute *attrs;
-  /* Binary search for the place where attribute would be, if its
+  /* Binary search for the place where attribute would be, if it's
      in the array */
 
   min = 0;
index 27eccaa74f408ec2cd4d169b4e757c7971986c16..9c3907e403433a2d1b2c7dc1aacf64cee96c18f7 100644 (file)
@@ -129,7 +129,7 @@ typedef struct _GFileInfoClass   GFileInfoClass;
  * G_FILE_ATTRIBUTE_STANDARD_COPY_NAME:
  *
  * A key in the "standard" namespace for getting the copy name of the file.
- * The copy name is an optional version of the name. If availible its always
+ * The copy name is an optional version of the name. If available it's always
  * in UTF8, and corresponds directly to the original filename (only transcoded to
  * UTF8). This is useful if you want to copy the file to another filesystem that
  * might have a different encoding. If the filename is not a valid string in the
index 867b14126b0ca84b3f48b8473b19e0659bf83f80..672924360db2d9aaf95fcc9ea56b1fd05cc06e3b 100644 (file)
@@ -593,7 +593,7 @@ g_io_extension_point_implement (const char *extension_point_name,
       return NULL;
     }      
 
-  /* Its safe to register the same type multiple times */
+  /* It's safe to register the same type multiple times */
   for (l = extension_point->extensions; l != NULL; l = l->next)
     {
       extension = l->data;
index aa0d910c72830ac73a4b0085ae7a0da1253832e5..14b59fea1d69b84f47d85f806ccd44ca0674eaf2 100644 (file)
@@ -110,7 +110,7 @@ init_scheduler (gpointer arg)
          g_thread_pool_set_sort_function (job_thread_pool,
                                           g_io_job_compare,
                                           NULL);
-         /* Its kinda weird that this is a global setting
+         /* It's kinda weird that this is a global setting
           * instead of per threadpool. However, we really
           * want to cache some threads, but not keep around
           * those threads forever. */
index fad0b70ed7f0c8261ecd4cb77fbd77fca0133946..5ee7790d51e9f11da243ff2d6a13077af8db2ba3 100644 (file)
@@ -619,6 +619,7 @@ g_local_file_get_child_for_display_name (GFile        *file,
 static const char *
 get_fs_type (long f_type)
 {
+  g_print ("get fstype for %ld\n", f_type);
 
   /* filesystem ids taken from linux manpage */
   switch (f_type) 
@@ -635,6 +636,8 @@ get_fs_type (long f_type)
       return "befs";
     case 0x1BADFACE:
       return "bfs";
+    case 0x9123683E:
+      return "btrfs";
     case 0xFF534D42:
       return "cifs";
     case 0x73757245:
@@ -693,6 +696,8 @@ get_fs_type (long f_type)
       return "romfs";
     case 0x517B:
       return "smb";
+    case 0x73717368:
+      return "squashfs";
     case 0x012FF7B6:
       return "sysv2";
     case 0x012FF7B5:
@@ -942,6 +947,7 @@ g_local_file_query_filesystem_info (GFile         *file,
 #endif
   GFileAttributeMatcher *attribute_matcher;
        
+  g_print ("g_local_file_query_filesystem_info\n");
   no_size = FALSE;
   
 #ifdef USE_STATFS
@@ -1022,8 +1028,10 @@ g_local_file_query_filesystem_info (GFile         *file,
 #ifdef USE_STATFS
 #if defined(HAVE_STRUCT_STATFS_F_FSTYPENAME)
   fstype = g_strdup(statfs_buffer.f_fstypename);
+  g_print ("using f_fstypename %s\n", fstype);
 #else
   fstype = get_fs_type (statfs_buffer.f_type);
+  g_print ("using f_type %s\n", fstype);
 #endif
 
 #elif defined(USE_STATVFS) && defined(HAVE_STRUCT_STATVFS_F_BASETYPE)
@@ -1340,7 +1348,7 @@ g_local_file_delete (GFile         *file,
       int errsv = errno;
 
       /* Posix allows EEXIST too, but the more sane error
-        is G_IO_ERROR_NOT_FOUND, and its what nautilus
+        is G_IO_ERROR_NOT_FOUND, and it's what nautilus
         expects */
       if (errsv == EEXIST)
        errsv = ENOTEMPTY;
index 738a015a667750e96823d1a1d121680b79da6b3e..7ecc9fccd81a07f93b757747d49ff8c7f4151f28 100644 (file)
@@ -825,7 +825,7 @@ _g_local_file_info_get_parent_info (const char            *dir,
 #endif
          parent_info->owner = statbuf.st_uid;
          parent_info->device = statbuf.st_dev;
-          /* No need to find trash dir if its not writable anyway */
+          /* No need to find trash dir if it's not writable anyway */
           if (parent_info->writable &&
               g_file_attribute_matcher_matches (attribute_matcher, G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH))
             parent_info->has_trash_dir = _g_local_file_has_trash_dir (dir, statbuf.st_dev);
index 1b5bafd6f343170dfe00b999eab6bceccb1d6de5..4115c34663ce0154c2c75e07c5343a53e8960618 100644 (file)
@@ -610,14 +610,14 @@ _g_mount_get_for_mount_path (const char *mount_path,
  *
  * If the return value is not %NULL, the caller must associate the
  * returned #GVolume object with the #GMount. This involves returning
- * it in it's g_mount_get_volume() implementation. The caller must
+ * it in its g_mount_get_volume() implementation. The caller must
  * also listen for the "removed" signal on the returned object
- * and give up it's reference when handling that signal
+ * and give up its reference when handling that signal
  * 
  * Similary, if implementing g_volume_monitor_adopt_orphan_mount(),
  * the implementor must take a reference to @mount and return it in
- * it's g_volume_get_mount() implemented. Also, the implementor must
- * listen for the "unmounted" signal on @mount and give up it's
+ * its g_volume_get_mount() implemented. Also, the implementor must
+ * listen for the "unmounted" signal on @mount and give up its
  * reference upon handling that signal.
  *
  * There are two main use cases for this function.
@@ -625,7 +625,7 @@ _g_mount_get_for_mount_path (const char *mount_path,
  * One is when implementing a user space file system driver that reads
  * blocks of a block device that is already represented by the native
  * volume monitor (for example a CD Audio file system driver). Such
- * a driver will generate it's own #GMount object that needs to be
+ * a driver will generate its own #GMount object that needs to be
  * assoicated with the #GVolume object that represents the volume.
  *
  * The other is for implementing a #GVolumeMonitor whose sole purpose
index 704f153b7898b2e17d9ab5dc774c63981ef789a2..f5e33d9cf9f5171719fee32a990eeceaca714c06 100644 (file)
@@ -369,7 +369,7 @@ _g_get_unix_mounts (void)
        *
        * 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 it's likely that
+       * It's 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.
        *
index ed266a1d42dc35ffee49eccbf4cf2b08a585ae51..3265fe4f0b3d3027b0aa416e35db98d73bc66313 100644 (file)
@@ -329,7 +329,7 @@ g_volume_monitor_get_mounts (GVolumeMonitor *volume_monitor)
  * @volume_monitor: a #GVolumeMonitor.
  * @uuid: the UUID to look for
  * 
- * Finds a #GVolume object by it's UUID (see g_volume_get_uuid())
+ * Finds a #GVolume object by its UUID (see g_volume_get_uuid())
  * 
  * Returns: a #GVolume or %NULL if no such volume is available.
  *     Free the returned object with g_object_unref().
@@ -353,7 +353,7 @@ g_volume_monitor_get_volume_for_uuid (GVolumeMonitor *volume_monitor,
  * @volume_monitor: a #GVolumeMonitor.
  * @uuid: the UUID to look for
  * 
- * Finds a #GMount object by it's UUID (see g_mount_get_uuid())
+ * Finds a #GMount object by its UUID (see g_mount_get_uuid())
  * 
  * Returns: a #GMount or %NULL if no such mount is available.
  *     Free the returned object with g_object_unref().
index 7f83c88df2563ade76feeae14c4012e557d47d35..99adb85e7821ce0fd7d393024f9252f72d5bcec5 100644 (file)
@@ -45,7 +45,7 @@ static const char base64_alphabet[] =
  * @state: Saved state between steps, initialize to 0
  * @save: Saved state between steps, initialize to 0
  *
- * Incrementally encode a sequence of binary data into it's Base-64 stringified
+ * Incrementally encode a sequence of binary data into its Base-64 stringified
  * representation. By calling this function multiple times you can convert 
  * data in chunks to avoid having to have the full encoded data in memory.
  *
index 529f79bc4ca26882fe1483980fa7b48a841684fa..711370b4bbab9ca996b1135227c3302701659494 100644 (file)
@@ -1123,7 +1123,7 @@ g_checksum_new (GChecksumType checksum_type)
  * g_checksum_reset:
  * @checksum: the #GChecksum to reset
  *
- * Resets the state of the @checksum back to it's initial state.
+ * Resets the state of the @checksum back to its initial state.
  *
  * Since: 2.18
  **/
index 2199d6947edb3eb4711c30a8db5763780bb16f0d..eaa7e091304bc71dad956f6a8065410192ee7b49 100644 (file)
@@ -76,7 +76,7 @@
  * <listitem><para>
  * The reference counting of #GClosure makes it easy to handle reentrancy
  * right; if a callback is removed while it is being invoked, the closure
- * and it's parameters won't be freed until the invocation finishes.
+ * and its parameters won't be freed until the invocation finishes.
  * </para></listitem>
  * <listitem><para>
  * g_closure_invalidate() and invalidation notifiers allow callbacks to be
@@ -538,7 +538,7 @@ g_closure_ref (GClosure *closure)
  * g_closure_invalidate:
  * @closure: GClosure to invalidate
  *
- * Sets a flag on the closure to indicate that it's calling
+ * Sets a flag on the closure to indicate that its calling
  * environment has become invalid, and thus causes any future
  * invocations of g_closure_invoke() on this @closure to be
  * ignored. Also, invalidation notifiers installed on the closure will
@@ -684,7 +684,7 @@ g_closure_remove_invalidate_notifier (GClosure      *closure,
   g_return_if_fail (closure != NULL);
   g_return_if_fail (notify_func != NULL);
 
-  if (closure->is_invalid && closure->in_inotify && /* account removal of notify_func() while its called */
+  if (closure->is_invalid && closure->in_inotify && /* account removal of notify_func() while it's called */
       ((gpointer) closure->marshal) == ((gpointer) notify_func) &&
       closure->data == notify_data)
     closure->marshal = NULL;
@@ -712,7 +712,7 @@ g_closure_remove_finalize_notifier (GClosure      *closure,
   g_return_if_fail (closure != NULL);
   g_return_if_fail (notify_func != NULL);
 
-  if (closure->is_invalid && !closure->in_inotify && /* account removal of notify_func() while its called */
+  if (closure->is_invalid && !closure->in_inotify && /* account removal of notify_func() while it's called */
       ((gpointer) closure->marshal) == ((gpointer) notify_func) &&
       closure->data == notify_data)
     closure->marshal = NULL;
index 32e885cba68fbc1d18b65bcd257752c468c61c0b..bf8a4191e6f96afa9357562cd339e66393876202 100644 (file)
@@ -190,7 +190,7 @@ struct      _GFlagsClass
  * @value_name: the name of the value
  * @value_nick: the nickname of the value
  * 
- * A structure which contains a single enum value, it's name, and it's
+ * A structure which contains a single enum value, its name, and its
  * nickname.
  */
 struct _GEnumValue
@@ -205,7 +205,7 @@ struct _GEnumValue
  * @value_name: the name of the value
  * @value_nick: the nickname of the value
  * 
- * A structure which contains a single flags value, it's name, and it's
+ * A structure which contains a single flags value, its name, and its
  * nickname.
  */
 struct _GFlagsValue
index 26b55d3b83b4bfc66d4197a7045a7c643fe48bc8..78f5e1b836ae1b7ef901bc2690f87bedf3cbea9b 100644 (file)
@@ -679,7 +679,7 @@ main (int   argc,
       /* parse & process file */
       g_scanner_input_file (scanner, fd);
 
-      /* scanning loop, we parse the input untill it's end is reached,
+      /* scanning loop, we parse the input until its end is reached,
        * or our sub routine came across invalid syntax
        */
       do
index 10a272321c9c6e87f2958b6ee767372eac90b288..454d8c2b3ce7888fba4b028244034d4a63453dba 100644 (file)
@@ -2512,7 +2512,7 @@ g_object_set_qdata_full (GObject       *object,
  *
  * This function gets back user data pointers stored via
  * g_object_set_qdata() and removes the @data from object
- * without invoking it's destroy() function (if any was
+ * without invoking its destroy() function (if any was
  * set).
  * Usually, calling this function is only required to update
  * user data pointers with a destroy notifier, for example:
index 029301cc63a310e85496af3a841fdb9701e655bf..139baa078a4a3543d1428df8358b6ecbe3ea8ea3 100644 (file)
@@ -527,7 +527,7 @@ g_param_spec_set_qdata_full (GParamSpec    *pspec,
  * @quark: a #GQuark, naming the user data pointer
  *
  * Gets back user data pointers stored via g_param_spec_set_qdata()
- * and removes the @data from @pspec without invoking it's destroy()
+ * and removes the @data from @pspec without invoking its destroy()
  * function (if any was set).  Usually, calling this function is only
  * required to update user data pointers with a destroy notifier.
  *
index 441a752289a1c2e31f27bc27959e30b15c70d3f9..d377876310e9cba52651a69f6e395d8ded450a9e 100644 (file)
@@ -334,7 +334,7 @@ typedef struct _GParamSpecTypeInfo GParamSpecTypeInfo;
  * required to initialize and destruct (finalize) a parameter's class and
  * instances thereof.
  * The initialized structure is passed to the g_param_type_register_static() 
- * The type system will perform a deep copy of this structure, so it's memory 
+ * The type system will perform a deep copy of this structure, so its memory 
  * does not need to be persistent across invocation of 
  * g_param_type_register_static().
  */
index aec118a27cb51c783745f7d48d60e4e712e4275c..f2442ea8798915c57b8440cd6a41217a1261679c 100644 (file)
@@ -1178,7 +1178,7 @@ type_node_add_iface_entry_W (TypeNode   *node,
       {
        /* this can happen in two cases:
          * - our parent type already conformed to iface_type and node
-         *   got it's own holder info. here, our children already have
+         *   got its own holder info. here, our children already have
          *   entries and NULL vtables, since this will only work for
          *   uninitialized classes.
         * - an interface type is added to an ancestor after it was