From 86edc31b11092aeaf846834ed7720851ee39e5e3 Mon Sep 17 00:00:00 2001 From: "luz.paz" Date: Sat, 6 Apr 2019 10:36:03 -0400 Subject: [PATCH 1/2] Misc. typos Found via `codespell` --- app/config/gimpdialogconfig.c | 2 +- app/core/gimpcurve.c | 2 +- app/pdb/fileops-cmds.c | 2 +- app/pdb/image-cmds.c | 4 ++-- icons/Color/scalable/gimp-tool-fuzzy-select.svg | 2 +- libgimp/gimpfileops_pdb.c | 2 +- libgimp/gimpimage_pdb.c | 4 ++-- libgimpbase/gimpmetadata.c | 2 +- pdb/groups/fileops.pdb | 2 +- pdb/groups/image.pdb | 4 ++-- 10 files changed, 13 insertions(+), 13 deletions(-) diff --git a/app/config/gimpdialogconfig.c b/app/config/gimpdialogconfig.c index 766d1d18f4d..9a226cf9d52 100644 --- a/app/config/gimpdialogconfig.c +++ b/app/config/gimpdialogconfig.c @@ -185,7 +185,7 @@ gimp_dialog_config_class_init (GimpDialogConfigClass *klass) GIMP_CONFIG_PROP_ENUM (object_class, PROP_IMAGE_CONVERT_PROFILE_INTENT, "image-convert-profile-intent", - "Default rendering intent fo color profile conversion", + "Default rendering intent for color profile conversion", IMAGE_CONVERT_PROFILE_INTENT_BLURB, GIMP_TYPE_COLOR_RENDERING_INTENT, GIMP_COLOR_RENDERING_INTENT_RELATIVE_COLORIMETRIC, diff --git a/app/core/gimpcurve.c b/app/core/gimpcurve.c index ae12d15af33..ee573911648 100644 --- a/app/core/gimpcurve.c +++ b/app/core/gimpcurve.c @@ -1269,7 +1269,7 @@ gimp_curve_plot (GimpCurve *curve, /* * finally calculate the y(t) values for the given bezier values. We can - * use homogenously distributed values for t, since x(t) increases linearly. + * use homogeneously distributed values for t, since x(t) increases linearly. */ for (i = 0; i <= ROUND (dx * (gdouble) (curve->n_samples - 1)); i++) { diff --git a/app/pdb/fileops-cmds.c b/app/pdb/fileops-cmds.c index 5af8d42f542..18990c9c3fb 100644 --- a/app/pdb/fileops-cmds.c +++ b/app/pdb/fileops-cmds.c @@ -1112,7 +1112,7 @@ register_fileops_procs (GimpPDB *pdb) gimp_procedure_set_static_strings (procedure, "gimp-register-file-handler-uri", "Registers a file handler procedure as capable of handling URIs.", - "Registers a file handler procedure as capable of handling URIs. This allows GIMP to call the procecure directly for all kinds of URIs, and the 'filename' traditionally passed to file procesures turns into an URI.", + "Registers a file handler procedure as capable of handling URIs. This allows GIMP to call the procedure directly for all kinds of URIs, and the 'filename' traditionally passed to file procesures turns into an URI.", "Michael Natterer ", "Michael Natterer", "2012", diff --git a/app/pdb/image-cmds.c b/app/pdb/image-cmds.c index 17c56d737b3..744518f37be 100644 --- a/app/pdb/image-cmds.c +++ b/app/pdb/image-cmds.c @@ -3842,7 +3842,7 @@ register_image_procs (GimpPDB *pdb) gimp_procedure_set_static_strings (procedure, "gimp-image-raise-item", "Raise the specified item in its level in its item tree", - "This procedure raises the specified item one step in the item tree. The procecure call will fail if there is no item above it.", + "This procedure raises the specified item one step in the item tree. The procedure call will fail if there is no item above it.", "Michael Natterer ", "Michael Natterer", "2010", @@ -3871,7 +3871,7 @@ register_image_procs (GimpPDB *pdb) gimp_procedure_set_static_strings (procedure, "gimp-image-lower-item", "Lower the specified item in its level in its item tree", - "This procedure lowers the specified item one step in the item tree. The procecure call will fail if there is no item below it.", + "This procedure lowers the specified item one step in the item tree. The procedure call will fail if there is no item below it.", "Michael Natterer ", "Michael Natterer", "2010", diff --git a/icons/Color/scalable/gimp-tool-fuzzy-select.svg b/icons/Color/scalable/gimp-tool-fuzzy-select.svg index a26642b663b..10942d90fb2 100644 --- a/icons/Color/scalable/gimp-tool-fuzzy-select.svg +++ b/icons/Color/scalable/gimp-tool-fuzzy-select.svg @@ -161,7 +161,7 @@ select region continuous - homogenous + homogeneous color diff --git a/libgimp/gimpfileops_pdb.c b/libgimp/gimpfileops_pdb.c index 6f14eae6106..6ed6502f78e 100644 --- a/libgimp/gimpfileops_pdb.c +++ b/libgimp/gimpfileops_pdb.c @@ -449,7 +449,7 @@ gimp_register_file_handler_mime (const gchar *procedure_name, * Registers a file handler procedure as capable of handling URIs. * * Registers a file handler procedure as capable of handling URIs. This - * allows GIMP to call the procecure directly for all kinds of URIs, + * allows GIMP to call the procedure directly for all kinds of URIs, * and the 'filename' traditionally passed to file procesures turns * into an URI. * diff --git a/libgimp/gimpimage_pdb.c b/libgimp/gimpimage_pdb.c index add4b1b1e46..82548ef9b87 100644 --- a/libgimp/gimpimage_pdb.c +++ b/libgimp/gimpimage_pdb.c @@ -1285,7 +1285,7 @@ gimp_image_get_item_position (gint32 image_ID, * Raise the specified item in its level in its item tree * * This procedure raises the specified item one step in the item tree. - * The procecure call will fail if there is no item above it. + * The procedure call will fail if there is no item above it. * * Returns: TRUE on success. * @@ -1320,7 +1320,7 @@ gimp_image_raise_item (gint32 image_ID, * Lower the specified item in its level in its item tree * * This procedure lowers the specified item one step in the item tree. - * The procecure call will fail if there is no item below it. + * The procedure call will fail if there is no item below it. * * Returns: TRUE on success. * diff --git a/libgimpbase/gimpmetadata.c b/libgimpbase/gimpmetadata.c index 70c40bc5b1b..9bf18f83cc5 100644 --- a/libgimpbase/gimpmetadata.c +++ b/libgimpbase/gimpmetadata.c @@ -1617,7 +1617,7 @@ gimp_metadata_copy_tags (GExiv2Metadata *src, for (i = 0; tags[i] != NULL; i++) { - /* don't copy the same tag multile times */ + /* don't copy the same tag multiple times */ if (i > 0 && ! strcmp (tags[i], tags[i - 1])) continue; diff --git a/pdb/groups/fileops.pdb b/pdb/groups/fileops.pdb index ff5ded8fa59..3dc668541e6 100644 --- a/pdb/groups/fileops.pdb +++ b/pdb/groups/fileops.pdb @@ -594,7 +594,7 @@ sub register_file_handler_uri { $help = <<'HELP'; Registers a file handler procedure as capable of handling URIs. This -allows GIMP to call the procecure directly for all kinds of URIs, and +allows GIMP to call the procedure directly for all kinds of URIs, and the 'filename' traditionally passed to file procesures turns into an URI. HELP diff --git a/pdb/groups/image.pdb b/pdb/groups/image.pdb index d51079082ca..cb12bfead85 100644 --- a/pdb/groups/image.pdb +++ b/pdb/groups/image.pdb @@ -554,7 +554,7 @@ sub image_raise_item { $help = <<'HELP'; This procedure raises the specified item one step in the item tree. -The procecure call will fail if there is no item above it. +The procedure call will fail if there is no item above it. HELP &mitch_pdb_misc('2010', '2.8'); @@ -583,7 +583,7 @@ sub image_lower_item { $help = <<'HELP'; This procedure lowers the specified item one step in the item tree. -The procecure call will fail if there is no item below it. +The procedure call will fail if there is no item below it. HELP &mitch_pdb_misc('2010', '2.8'); -- GitLab From 1c91b8d97eb7a8f159b5c232f9159328df6558e3 Mon Sep 17 00:00:00 2001 From: "luz.paz" Date: Fri, 19 Apr 2019 22:51:06 -0400 Subject: [PATCH 2/2] Add a few more misc. source comment typos --- app/display/gimptoolrectangle.c | 2 +- app/widgets/gimpviewrendererdrawable.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/display/gimptoolrectangle.c b/app/display/gimptoolrectangle.c index 3cecea008d5..309cf8cd486 100644 --- a/app/display/gimptoolrectangle.c +++ b/app/display/gimptoolrectangle.c @@ -227,7 +227,7 @@ struct _GimpToolRectanglePrivate /* The title for the statusbar coords */ gchar *status_title; - /* For saving in case of cancelation. */ + /* For saving in case of cancellation. */ gdouble saved_x1; gdouble saved_y1; gdouble saved_x2; diff --git a/app/widgets/gimpviewrendererdrawable.c b/app/widgets/gimpviewrendererdrawable.c index a44df83becb..2045c9b607a 100644 --- a/app/widgets/gimpviewrendererdrawable.c +++ b/app/widgets/gimpviewrendererdrawable.c @@ -352,7 +352,7 @@ gimp_view_renderer_drawable_cancel_render (GimpViewRendererDrawable *renderdrawa * let it go on without blocking the main thread. * gimp_drawable_get_sub_preview_async() can continue rendering safely even * after the drawable had died, and our completion callback is prepared to - * handle cancelation. + * handle cancellation. */ if (renderdrawable->priv->render_async) { -- GitLab