[gnome-builder] docs: Fix grammar



commit 0754b6889700b0c83fd860a2dc904dbbee16192d
Author: Matthew Leeds <mleeds redhat com>
Date:   Tue Nov 8 18:07:57 2016 -0600

    docs: Fix grammar

 contrib/egg/egg-animation.c                   |    4 ++--
 contrib/gstyle/gstyle-color-panel.c           |    2 +-
 contrib/gstyle/gstyle-revealer.c              |    2 +-
 contrib/pnl/pnl-animation.c                   |    4 ++--
 contrib/search/trie.c                         |    2 +-
 doc/DESIGN.md                                 |    2 +-
 libide/buffers/OVERVIEW.md                    |    2 +-
 libide/buffers/ide-unsaved-files.c            |    4 ++--
 libide/diagnostics/ide-diagnostics-manager.c  |    2 +-
 libide/langserv/ide-langserv-symbol-tree.c    |    2 +-
 libide/runner/OVERVIEW.md                     |    2 +-
 libide/runtimes/ide-runtime-manager.c         |    2 +-
 libide/subprocess/ide-breakout-subprocess.c   |    2 +-
 libide/tree/ide-tree-node.c                   |    2 +-
 libide/workbench/ide-workbench.c              |    2 +-
 libidemm/src/libide_docs.xml                  |    8 ++++----
 plugins/rust-langserv/rust_langserv_plugin.py |    2 +-
 plugins/terminal/gb-terminal-view.c           |    4 ++--
 18 files changed, 25 insertions(+), 25 deletions(-)
---
diff --git a/contrib/egg/egg-animation.c b/contrib/egg/egg-animation.c
index b48e6ea..295d086 100644
--- a/contrib/egg/egg-animation.c
+++ b/contrib/egg/egg-animation.c
@@ -898,7 +898,7 @@ egg_animation_class_init (EggAnimationClass *klass)
   /**
    * EggAnimation:target:
    *
-   * The "target" property is the #GObject that should have it's properties
+   * The "target" property is the #GObject that should have its properties
    * animated.
    */
   properties[PROP_TARGET] =
@@ -1064,7 +1064,7 @@ egg_object_animatev (gpointer          object,
       /*
        * First check for the property on the object. If that does not exist
        * then check if the object has a parent and look at its child
-       * properties (if its a GtkWidget).
+       * properties (if it's a GtkWidget).
        */
       if (!(pspec = g_object_class_find_property (klass, name)))
         {
diff --git a/contrib/gstyle/gstyle-color-panel.c b/contrib/gstyle/gstyle-color-panel.c
index ba95125..5235197 100644
--- a/contrib/gstyle/gstyle-color-panel.c
+++ b/contrib/gstyle/gstyle-color-panel.c
@@ -1184,7 +1184,7 @@ setup_ui (GstyleColorPanel *self)
  * @self: A #GstyleColorPanel.
  * @palette: A GstylePalette.
  *
- * Show the @palette and update it's name in the bar.
+ * Show the @palette and update its name in the bar.
  *
  */
 void
diff --git a/contrib/gstyle/gstyle-revealer.c b/contrib/gstyle/gstyle-revealer.c
index 39b18e1..2e5ea7c 100644
--- a/contrib/gstyle/gstyle-revealer.c
+++ b/contrib/gstyle/gstyle-revealer.c
@@ -23,7 +23,7 @@
  *   - duration coded in hard.
  *
  * although not perfect because we don't control the container and children position,
- * it's very aceptable solution.
+ * it's a very aceptable solution.
  */
 
 #include "gstyle-animation.h"
diff --git a/contrib/pnl/pnl-animation.c b/contrib/pnl/pnl-animation.c
index e0a15d6..4ea57d3 100644
--- a/contrib/pnl/pnl-animation.c
+++ b/contrib/pnl/pnl-animation.c
@@ -878,7 +878,7 @@ pnl_animation_class_init (PnlAnimationClass *klass)
   /**
    * PnlAnimation:target:
    *
-   * The "target" property is the #GObject that should have it's properties
+   * The "target" property is the #GObject that should have its properties
    * animated.
    */
   properties[PROP_TARGET] =
@@ -1044,7 +1044,7 @@ pnl_object_animatev (gpointer          object,
       /*
        * First check for the property on the object. If that does not exist
        * then check if the object has a parent and look at its child
-       * properties (if its a GtkWidget).
+       * properties (if it's a GtkWidget).
        */
       if (!(pspec = g_object_class_find_property (klass, name)))
         {
diff --git a/contrib/search/trie.c b/contrib/search/trie.c
index 9a3d149..57a913e 100644
--- a/contrib/search/trie.c
+++ b/contrib/search/trie.c
@@ -399,7 +399,7 @@ trie_node_remove_fast (TrieNode      *node,
  * trie_node_unlink:
  * @node: A #TrieNode.
  *
- * Unlinks @node from the Trie. The parent node has it's pointer to @node
+ * Unlinks @node from the Trie. The parent node has its pointer to @node
  * removed.
  */
 static void
diff --git a/doc/DESIGN.md b/doc/DESIGN.md
index 33ee82a..629ee18 100644
--- a/doc/DESIGN.md
+++ b/doc/DESIGN.md
@@ -330,7 +330,7 @@ symbol underneath the line/column for the cursor.
 
 Using the `IdeSymbolResolver` for the `IdeFile`, the IDE would call the method
 to get the location of a particular symbol by name. Then it can open that file
-using it's file loading subsystem.
+using its file loading subsystem.
 
 ### How would a user add a breakpoint to the active debugging process.
 
diff --git a/libide/buffers/OVERVIEW.md b/libide/buffers/OVERVIEW.md
index 59df0b1..d2b226f 100644
--- a/libide/buffers/OVERVIEW.md
+++ b/libide/buffers/OVERVIEW.md
@@ -1,6 +1,6 @@
 ## Buffer Manager
 
-Libide has a buffer manager per-project context (each context has it's own
+Libide has a buffer manager per-project context (each context has its own
 workbench window). Buffers exist within the buffer manager, and can be
 autosaved when it is appropriate.
 
diff --git a/libide/buffers/ide-unsaved-files.c b/libide/buffers/ide-unsaved-files.c
index 941d9f1..f6594b4 100644
--- a/libide/buffers/ide-unsaved-files.c
+++ b/libide/buffers/ide-unsaved-files.c
@@ -540,7 +540,7 @@ ide_unsaved_files_update (IdeUnsavedFiles *self,
           /*
            * A file that get's updated is the most likely to get updated on
            * the next attempt. Therefore, we will simply move this entry to
-           * the beginning of the array to increase it's chances of being the
+           * the beginning of the array to increase its chances of being the
            * first entry we check.
            */
           if (i != 0)
@@ -569,7 +569,7 @@ ide_unsaved_files_update (IdeUnsavedFiles *self,
  * Call g_ptr_array_unref() on the resulting #GPtrArray when no longer in use.
  *
  * If you would like to hold onto an unsaved file instance, call
- * ide_unsaved_file_ref() to increment it's reference count.
+ * ide_unsaved_file_ref() to increment its reference count.
  *
  * Returns: (transfer container) (element-type IdeUnsavedFile*): A #GPtrArray
  *   containing #IdeUnsavedFile elements.
diff --git a/libide/diagnostics/ide-diagnostics-manager.c b/libide/diagnostics/ide-diagnostics-manager.c
index da7d09e..6c1e16f 100644
--- a/libide/diagnostics/ide-diagnostics-manager.c
+++ b/libide/diagnostics/ide-diagnostics-manager.c
@@ -1060,7 +1060,7 @@ ide_diagnostics_manager_buffer_unloaded (IdeDiagnosticsManager *self,
    * diagnostics that were created from other files (this could happen when
    * one diagnostic is created for a header from a source file). So we don't
    * want to wipe out the hashtable unless everything was unloaded. The other
-   * provider will cleanup during it's own destruction.
+   * provider will cleanup during its own destruction.
    */
   if (group->diagnostics_by_provider != NULL &&
       g_hash_table_size (group->diagnostics_by_provider) == 0)
diff --git a/libide/langserv/ide-langserv-symbol-tree.c b/libide/langserv/ide-langserv-symbol-tree.c
index aa48174..1557f3c 100644
--- a/libide/langserv/ide-langserv-symbol-tree.c
+++ b/libide/langserv/ide-langserv-symbol-tree.c
@@ -54,7 +54,7 @@ ide_langserv_symbol_tree_get_n_children (IdeSymbolTree *tree,
 
   /*
    * This is all O(n) below, but with the size of trees we are working with
-   * its not all that bad. If it becomes an issue, we can move to something
+   * it's not all that bad. If it becomes an issue, we can move to something
    * like a hashtable.
    */
 
diff --git a/libide/runner/OVERVIEW.md b/libide/runner/OVERVIEW.md
index 94c4e33..e5c66a1 100644
--- a/libide/runner/OVERVIEW.md
+++ b/libide/runner/OVERVIEW.md
@@ -5,7 +5,7 @@ to plumb components. For example, Builder supports runtimes which might
 be different than the current host (such as org.gnome.Platform 3.22).
 Additionally, we might need to attach a debugger. The build system might
 also need to perform an installation of the application bits into a
-runtime so that the project can run as it's "installed state".
+runtime so that the project can run as its "installed state".
 
 All of these complexities results in project execution being abstracted
 into an “IdeRunner” object and series of “IdeRunnerAddin” extensions.
diff --git a/libide/runtimes/ide-runtime-manager.c b/libide/runtimes/ide-runtime-manager.c
index 67ae5e5..716f4de 100644
--- a/libide/runtimes/ide-runtime-manager.c
+++ b/libide/runtimes/ide-runtime-manager.c
@@ -227,7 +227,7 @@ ide_runtime_manager_remove (IdeRuntimeManager *self,
  * @self: An #IdeRuntimeManager
  * @id: the identifier of the runtime
  *
- * Gets the runtime by it's internal identifier.
+ * Gets the runtime by its internal identifier.
  *
  * Returns: (transfer none): An #IdeRuntime.
  */
diff --git a/libide/subprocess/ide-breakout-subprocess.c b/libide/subprocess/ide-breakout-subprocess.c
index 43e59fa..655482a 100644
--- a/libide/subprocess/ide-breakout-subprocess.c
+++ b/libide/subprocess/ide-breakout-subprocess.c
@@ -1397,7 +1397,7 @@ ide_breakout_subprocess_initable_init (GInitable     *initable,
 
   /*
    * Connect to the HostCommandExited signal so that we can make progress
-   * on all tasks waiting on ide_subprocess_wait() and it's async variants.
+   * on all tasks waiting on ide_subprocess_wait() and its async variants.
    * We need to do this before spawning the process to avoid the race.
    */
   self->exited_subscription = g_dbus_connection_signal_subscribe (self->connection,
diff --git a/libide/tree/ide-tree-node.c b/libide/tree/ide-tree-node.c
index 09dcb48..0ecd9f6 100644
--- a/libide/tree/ide-tree-node.c
+++ b/libide/tree/ide-tree-node.c
@@ -805,7 +805,7 @@ ide_tree_node_class_init (IdeTreeNodeClass *klass)
    *
    * This property allows for more lazy loading of nodes.
    *
-   * When a node becomes visible, we normally build it's children nodes
+   * When a node becomes visible, we normally build its children nodes
    * so that we know if we need an expansion arrow. However, that can
    * be expensive when rendering directories with lots of subdirectories.
    *
diff --git a/libide/workbench/ide-workbench.c b/libide/workbench/ide-workbench.c
index 6178835..44923ac 100644
--- a/libide/workbench/ide-workbench.c
+++ b/libide/workbench/ide-workbench.c
@@ -736,7 +736,7 @@ ide_workbench_remove_perspective (IdeWorkbench   *self,
 /**
  * ide_workbench_get_perspective_by_name:
  *
- * Gets the perspective by it's registered name as defined in
+ * Gets the perspective by its registered name as defined in
  * ide_perspective_get_id().
  *
  * Returns: (nullable) (transfer none): An #IdePerspective or %NULL.
diff --git a/libidemm/src/libide_docs.xml b/libidemm/src/libide_docs.xml
index ea15f04..e72e999 100644
--- a/libidemm/src/libide_docs.xml
+++ b/libidemm/src/libide_docs.xml
@@ -1609,7 +1609,7 @@ See ide_buffer_manager_load_file_finish() for how to complete this asynchronous
 <description>
 Completes an asynchronous request to load a file via ide_buffer_manager_load_file_async().
 If the buffer was already loaded, this function will return a reference to the previous buffer
-with it's reference count incremented by one.
+with its reference count incremented by one.
 
 
 </description>
@@ -4538,7 +4538,7 @@ side effects.
 
 <function name="ide_runtime_manager_get_runtime">
 <description>
-Gets the runtime by it's internal identifier.
+Gets the runtime by its internal identifier.
 
 
 </description>
@@ -6099,7 +6099,7 @@ clang.
 Call g_ptr_array_unref() on the resulting #GPtrArray when no longer in use.
 
 If you would like to hold onto an unsaved file instance, call
-ide_unsaved_file_ref() to increment it's reference count.
+ide_unsaved_file_ref() to increment its reference count.
 
 
 </description>
@@ -6923,7 +6923,7 @@ Gets the context associated with the workbench, or %NULL.
 
 <function name="ide_workbench_get_perspective_by_name">
 <description>
-Gets the perspective by it's registered name as defined in
+Gets the perspective by its registered name as defined in
 ide_perspective_get_id().
 
 
diff --git a/plugins/rust-langserv/rust_langserv_plugin.py b/plugins/rust-langserv/rust_langserv_plugin.py
index 9c0445b..e84cd12 100644
--- a/plugins/rust-langserv/rust_langserv_plugin.py
+++ b/plugins/rust-langserv/rust_langserv_plugin.py
@@ -70,7 +70,7 @@ class RustService(Ide.Object, Ide.Service):
         """
         # To avoid starting the `rls` process unconditionally at startup,
         # we lazily start it when the first provider tries to bind a client
-        # to it's :client property.
+        # to its :client property.
         if not self._has_started:
             self._has_started = True
 
diff --git a/plugins/terminal/gb-terminal-view.c b/plugins/terminal/gb-terminal-view.c
index 9962a2b..d7979e8 100644
--- a/plugins/terminal/gb-terminal-view.c
+++ b/plugins/terminal/gb-terminal-view.c
@@ -373,7 +373,7 @@ gb_terminal_get_preferred_width (GtkWidget *widget,
   /*
    * Since we are placing the terminal in a GtkStack, we need
    * to fake the size a bit. Otherwise, GtkStack tries to keep the
-   * widget at it's natural size (which prevents us from getting
+   * widget at its natural size (which prevents us from getting
    * appropriate size requests.
    */
   GTK_WIDGET_CLASS (gb_terminal_view_parent_class)->get_preferred_width (widget, min_width, nat_width);
@@ -388,7 +388,7 @@ gb_terminal_get_preferred_height (GtkWidget *widget,
   /*
    * Since we are placing the terminal in a GtkStack, we need
    * to fake the size a bit. Otherwise, GtkStack tries to keep the
-   * widget at it's natural size (which prevents us from getting
+   * widget at its natural size (which prevents us from getting
    * appropriate size requests.
    */
   GTK_WIDGET_CLASS (gb_terminal_view_parent_class)->get_preferred_height (widget, min_height, nat_height);


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