[gimp] Misc. comment typos
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Misc. comment typos
- Date: Sat, 14 Jul 2018 19:13:24 +0000 (UTC)
commit 732bcb463e77883a8a9786a84fa80edcb3ffbaa2
Author: luz.paz <luzpaz users noreply github com>
Date: Sat Jul 14 07:15:26 2018 -0400
Misc. comment typos
Found via `codespell`
app/core/gimpprogress.c | 2 +-
app/gui/gui.c | 2 +-
app/tools/gimp-tool-options-manager.c | 2 +-
app/tools/gimptransformgridtool.c | 2 +-
app/widgets/gimpdevices.c | 2 +-
libgimpbase/gimpbaseenums.h | 2 +-
libgimpbase/gimpparasiteio.h | 2 +-
libgimpwidgets/gimpmemsizeentry.c | 2 +-
plug-ins/screenshot/screenshot-win32.c | 6 ++++--
9 files changed, 12 insertions(+), 10 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/gui/gui.c b/app/gui/gui.c
index 7897c2beb2..f0b5e72e63 100644
--- a/app/gui/gui.c
+++ b/app/gui/gui.c
@@ -224,7 +224,7 @@ gui_init (Gimp *gimp,
/* Normally this should have been taken care of during command line
* parsing as a post-parse hook of gtk_get_option_group(), using the
* system locales.
- * But user config may have overriden the language, therefore we must
+ * But user config may have overridden the language, therefore we must
* check the widget directions again.
*/
gtk_widget_set_default_direction (gtk_get_locale_direction ());
diff --git a/app/tools/gimp-tool-options-manager.c b/app/tools/gimp-tool-options-manager.c
index 7afca35813..f37b67e451 100644
--- a/app/tools/gimp-tool-options-manager.c
+++ b/app/tools/gimp-tool-options-manager.c
@@ -277,7 +277,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 4396625d91..01d0d880f7 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/app/widgets/gimpdevices.c b/app/widgets/gimpdevices.c
index 0c22dc7af3..2d4950591e 100644
--- a/app/widgets/gimpdevices.c
+++ b/app/widgets/gimpdevices.c
@@ -309,7 +309,7 @@ gimp_devices_get_from_event (Gimp *gimp,
case GDK_DEVICE_TYPE_SLAVE:
/* this is the tricky part: we do want to distingiugh slave
* devices, but only if we actually enabled them ourselves
- * explicitely (like the pens of a tablet); however we
+ * explicitly (like the pens of a tablet); however we
* usually don't enable the different incarnations of the
* mouse itself (like touchpad, trackpoint, usb mouse
* etc.), so for these return their respective master so
diff --git a/libgimpbase/gimpbaseenums.h b/libgimpbase/gimpbaseenums.h
index 747406bf60..37d503d638 100644
--- a/libgimpbase/gimpbaseenums.h
+++ b/libgimpbase/gimpbaseenums.h
@@ -812,7 +812,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/libgimpwidgets/gimpmemsizeentry.c b/libgimpwidgets/gimpmemsizeentry.c
index 578196fb53..edc100d97f 100644
--- a/libgimpwidgets/gimpmemsizeentry.c
+++ b/libgimpwidgets/gimpmemsizeentry.c
@@ -59,7 +59,7 @@ struct _GimpMemsizeEntryPrivate
guint shift;
- /* adjustement is owned by spinbutton. Do not unref() it. */
+ /* adjustment is owned by spinbutton. Do not unref() it. */
GtkAdjustment *adjustment;
GtkWidget *spinbutton;
GtkWidget *menu;
diff --git a/plug-ins/screenshot/screenshot-win32.c b/plug-ins/screenshot/screenshot-win32.c
index b982d4f2a0..048d43e38c 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]