[gimp/gimp-2-10] Misc. comment typos



commit 2883b8fb40c9dfeb4a0de97c94d27c792f44ae6b
Author: luz.paz <luzpaz users noreply github com>
Date:   Sat Jul 14 07:15:26 2018 -0400

    Misc. comment typos
    
    Found via `codespell`
    
    (cherry picked from commit 732bcb463e77883a8a9786a84fa80edcb3ffbaa2)

 app/core/gimpprogress.c                | 2 +-
 app/tools/gimp-tool-options-manager.c  | 2 +-
 app/tools/gimptransformgridtool.c      | 2 +-
 libgimpbase/gimpbaseenums.h            | 2 +-
 libgimpbase/gimpparasiteio.h           | 2 +-
 plug-ins/screenshot/screenshot-win32.c | 6 ++++--
 6 files changed, 9 insertions(+), 7 deletions(-)
---
diff --git a/app/core/gimpprogress.c b/app/core/gimpprogress.c
index 7ef486cb75..6b8bf46b31 100644
--- a/app/core/gimpprogress.c
+++ b/app/core/gimpprogress.c
@@ -47,7 +47,7 @@ G_DEFINE_INTERFACE (GimpProgress, gimp_progress, G_TYPE_OBJECT)
 static guint progress_signals[LAST_SIGNAL] = { 0 };
 
 
-/*  private functionss  */
+/*  private functions  */
 
 
 static void
diff --git a/app/tools/gimp-tool-options-manager.c b/app/tools/gimp-tool-options-manager.c
index 125c63feab..22d1f2b29b 100644
--- a/app/tools/gimp-tool-options-manager.c
+++ b/app/tools/gimp-tool-options-manager.c
@@ -281,7 +281,7 @@ tool_options_manager_global_notify (GimpCoreConfig         *config,
       GimpToolInfo *tool_info = list->data;
 
       /*  don't change the active tool, it is always fully connected
-       *  to the user_context anway because we set its
+       *  to the user_context anyway because we set its
        *  defined/undefined context props in tool_changed()
        */
       if (tool_info == manager->active_tool)
diff --git a/app/tools/gimptransformgridtool.c b/app/tools/gimptransformgridtool.c
index d15a50ca75..00adce654d 100644
--- a/app/tools/gimptransformgridtool.c
+++ b/app/tools/gimptransformgridtool.c
@@ -782,7 +782,7 @@ gimp_transform_grid_tool_real_widget_changed (GimpTransformGridTool *tg_tool)
   GimpTransformTool *tr_tool = GIMP_TRANSFORM_TOOL (tg_tool);
   GimpToolWidget    *widget  = tg_tool->widget;
 
-  /* supress the call to GimpTransformGridTool::update_widget() when
+  /* suppress the call to GimpTransformGridTool::update_widget() when
    * recalculating the matrix
    */
   tg_tool->widget = NULL;
diff --git a/libgimpbase/gimpbaseenums.h b/libgimpbase/gimpbaseenums.h
index f993a7e369..2b5481bc81 100644
--- a/libgimpbase/gimpbaseenums.h
+++ b/libgimpbase/gimpbaseenums.h
@@ -951,7 +951,7 @@ typedef enum
  * @GIMP_ORIENTATION_VERTICAL:   Vertical
  * @GIMP_ORIENTATION_UNKNOWN:    Unknown
  *
- * Orientations for verious purposes.
+ * Orientations for various purposes.
  **/
 #define GIMP_TYPE_ORIENTATION_TYPE (gimp_orientation_type_get_type ())
 
diff --git a/libgimpbase/gimpparasiteio.h b/libgimpbase/gimpparasiteio.h
index b05d62f4b9..c8dabc7b30 100644
--- a/libgimpbase/gimpparasiteio.h
+++ b/libgimpbase/gimpparasiteio.h
@@ -67,7 +67,7 @@ void    gimp_pixpipe_params_parse (const gchar       *parameters,
 /* Build a string representation of GimpPixPipeParams */
 gchar * gimp_pixpipe_params_build (GimpPixPipeParams *params) G_GNUC_MALLOC;
 
-/* Free the internal values. It does not free the struct itsef. */
+/* Free the internal values. It does not free the struct itself. */
 void    gimp_pixpipe_params_free  (GimpPixPipeParams *params);
 
 G_END_DECLS
diff --git a/plug-ins/screenshot/screenshot-win32.c b/plug-ins/screenshot/screenshot-win32.c
index 8e22eb7888..567a33ba34 100644
--- a/plug-ins/screenshot/screenshot-win32.c
+++ b/plug-ins/screenshot/screenshot-win32.c
@@ -518,13 +518,15 @@ GetAccurateWindowRect (HWND hwndTarget,
   /* In this case, we did not got the rect from the dwm api so we try to get the rect with the normal 
function */
   if (GetWindowRect (hwndTarget, outRect))
     {
-      /* If the window is maximized then we need and can fix the rect variable (we need to do this if the 
rect not comming from dwm api) */
+      /* If the window is maximized then we need and can fix the rect variable 
+       * (we need to do this if the rect isn't coming from dwm api) 
+       */
       ZeroMemory (&windowplacment, sizeof (WINDOWPLACEMENT));
       if (GetWindowPlacement (hwndTarget, &windowplacment) && windowplacment.showCmd == SW_SHOWMAXIMIZED)
         {
           RECT *rectScreens = NULL;
 
-          /* if this is not the first time we call this function for some
+          /* If this is not the first time we call this function for some
            * reason then we reset the rectScreens count
            */
           if (rectScreensCount)


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