Fix typos

Found via:
```
codespell -q 3 -S ./ChangeLog*,*.po,./.git,./NEWS* -L als,ang,ba,chello,daa,doubleclick,foto,hist,iff,inport,klass,mut,nd,ower,paeth,params,pard,pevent,sinc,thru,tim,uint
```
This commit is contained in:
luz paz 2020-11-05 11:43:53 -05:00 committed by Jehan
parent 0b040dc109
commit bb322d94d7
25 changed files with 36 additions and 36 deletions

2
NEWS
View file

@ -194,7 +194,7 @@ API:
- `GimpPlugIn` is a class which every plug-in should now subclass as a - `GimpPlugIn` is a class which every plug-in should now subclass as a
way to create their plug-in, and override at least the methods way to create their plug-in, and override at least the methods
query_procedures() and create_procedure(). Two other methods query_procedures() and create_procedure(). Two other methods
(init_procedures() and quit()) can be optionally overrided. (init_procedures() and quit()) can be optionally overridden.
The new subclass must be declared to gimp by calling gimp_main() to The new subclass must be declared to gimp by calling gimp_main() to
make it available to the core (PDB procedure, menu items, etc.). make it available to the core (PDB procedure, menu items, etc.).
A plug-in can obtain its own GimpPlugIn instance with A plug-in can obtain its own GimpPlugIn instance with

View file

@ -160,7 +160,7 @@ gimp_gui_config_class_init (GimpGuiConfigClass *klass)
GIMP_CONFIG_PROP_BOOLEAN (object_class, PROP_FILTER_TOOL_SHOW_COLOR_OPTIONS, GIMP_CONFIG_PROP_BOOLEAN (object_class, PROP_FILTER_TOOL_SHOW_COLOR_OPTIONS,
"filter-tool-show-color-options", "filter-tool-show-color-options",
"Show avanced color options in filters", "Show advanced color options in filters",
FILTER_TOOL_SHOW_COLOR_OPTIONS_BLURB, FILTER_TOOL_SHOW_COLOR_OPTIONS_BLURB,
FALSE, FALSE,
GIMP_PARAM_STATIC_STRINGS); GIMP_PARAM_STATIC_STRINGS);

View file

@ -450,7 +450,7 @@ gimp_transform_matrix_generic (GimpMatrix3 *matrix,
g_return_val_if_fail (output_points != NULL, FALSE); g_return_val_if_fail (output_points != NULL, FALSE);
/* find the matrix that transforms 'input_points' to 'output_points', whose /* find the matrix that transforms 'input_points' to 'output_points', whose
* (3, 3) coeffcient is 1, by solving a system of linear equations whose * (3, 3) coefficient is 1, by solving a system of linear equations whose
* solution is the remaining 8 coefficients. * solution is the remaining 8 coefficients.
*/ */
for (i = 0; i < 4; i++) for (i = 0; i < 4; i++)

View file

@ -373,7 +373,7 @@ gimp_backtrace_stop (void)
if (n_initializations == 0 && initialized) if (n_initializations == 0 && initialized)
{ {
if (sigaction (BACKTRACE_SIGNAL, &orig_action, NULL) < 0) if (sigaction (BACKTRACE_SIGNAL, &orig_action, NULL) < 0)
g_warning ("failed to restore origianl backtrace signal handler"); g_warning ("failed to restore original backtrace signal handler");
initialized = FALSE; initialized = FALSE;
} }

View file

@ -59,7 +59,7 @@ static GimpBoundary * gimp_boundary_new (const GeglRectangle *region);
static GimpBoundSeg * gimp_boundary_free (GimpBoundary *boundary, static GimpBoundSeg * gimp_boundary_free (GimpBoundary *boundary,
gboolean free_segs); gboolean free_segs);
static void gimp_boundary_add_seg (GimpBoundary *bounrady, static void gimp_boundary_add_seg (GimpBoundary *boundary,
gint x1, gint x1,
gint y1, gint y1,
gint x2, gint x2,

View file

@ -3482,7 +3482,7 @@ median_cut_pass2_fixed_dither_rgb (QuantizeObj *quantobj,
color2 = &quantobj->cmap[pixval2]; color2 = &quantobj->cmap[pixval2];
/* now figure out the relative probabilites of choosing /* now figure out the relative probabilities of choosing
either of our candidates. */ either of our candidates. */
#define DISTP(R1,G1,B1,R2,G2,B2,D) do {D = sqrt( 30*SQR((R1)-(R2)) + \ #define DISTP(R1,G1,B1,R2,G2,B2,D) do {D = sqrt( 30*SQR((R1)-(R2)) + \
59*SQR((G1)-(G2)) + \ 59*SQR((G1)-(G2)) + \

View file

@ -2397,7 +2397,7 @@ gimp_image_set_imported_file (GimpImage *image,
* use higher default resolution, or explicitly chosen templates), * use higher default resolution, or explicitly chosen templates),
* imported files have a more backward-compatible value. * imported files have a more backward-compatible value.
* *
* 72 PPI is traditionnally the default value when none other had * 72 PPI is traditionally the default value when none other had
* been explicitly set (for instance it is the default when no * been explicitly set (for instance it is the default when no
* resolution metadata was set in Exif version 2.32, and below, * resolution metadata was set in Exif version 2.32, and below,
* standard). This historical value will only ever apply to loaded * standard). This historical value will only ever apply to loaded

View file

@ -62,7 +62,7 @@ void gimp_display_shell_zoom_segments (GimpDisplayShell *shel
/* rotate: functions to transform from unrotated and unflipped but /* rotate: functions to transform from unrotated and unflipped but
* zoomed display space to rotated and filpped display space and back * zoomed display space to rotated and flipped display space and back
*/ */
void gimp_display_shell_rotate_coords (GimpDisplayShell *shell, void gimp_display_shell_rotate_coords (GimpDisplayShell *shell,

View file

@ -1482,7 +1482,7 @@ gimp_tool_transform_grid_motion (GimpToolWidget *widget,
/* when the keep aspect transformation constraint is enabled, /* when the keep aspect transformation constraint is enabled,
* the translation shall only be along the diagonal that runs * the translation shall only be along the diagonal that runs
* trough this corner point. * through this corner point.
*/ */
if (private->constrain_scale) if (private->constrain_scale)
{ {
@ -1726,7 +1726,7 @@ gimp_tool_transform_grid_motion (GimpToolWidget *widget,
/* when the constrain transformation constraint is enabled, /* when the constrain transformation constraint is enabled,
* the translation shall only be either along the side * the translation shall only be either along the side
* angles of the two sides that run to this corner point, or * angles of the two sides that run to this corner point, or
* along the diagonal that runs trough this corner point. * along the diagonal that runs through this corner point.
*/ */
GimpVector2 proj[4]; GimpVector2 proj[4];
gdouble rej[4]; gdouble rej[4];

View file

@ -5625,7 +5625,7 @@ register_image_procs (GimpPDB *pdb)
"Execute the color profile conversion policy.", "Execute the color profile conversion policy.",
"Process the image according to the color profile policy as set in Preferences.\n" "Process the image according to the color profile policy as set in Preferences.\n"
"If GIMP is running as a GUI and interactive is TRUE, a dialog may be presented to the user depending on the policy. Otherwise, if the policy does not mandate the conversion to perform, the conversion to the preferred RGB or grayscale profile will happen, defaulting to built-in profiles if no preferred profiles were set in `Preferences`.\n" "If GIMP is running as a GUI and interactive is TRUE, a dialog may be presented to the user depending on the policy. Otherwise, if the policy does not mandate the conversion to perform, the conversion to the preferred RGB or grayscale profile will happen, defaulting to built-in profiles if no preferred profiles were set in `Preferences`.\n"
"This function should be used only if you want to follow user settings. If you intend to convert to a specific profile, call preferrably 'gimp-image-convert-color-profile'. And if you wish to leave whatever profile an image has, do not call any of these functions.\n" "This function should be used only if you want to follow user settings. If you intend to convert to a specific profile, call preferably 'gimp-image-convert-color-profile'. And if you wish to leave whatever profile an image has, do not call any of these functions.\n"
"Finally it is unnecessary to call this function in a format load procedure because this is called automatically by the core code when loading any image. You should only call this function explicitly when loading an image through a PDB call.", "Finally it is unnecessary to call this function in a format load procedure because this is called automatically by the core code when loading any image. You should only call this function explicitly when loading an image through a PDB call.",
NULL); NULL);
gimp_procedure_set_static_attribution (procedure, gimp_procedure_set_static_attribution (procedure,

View file

@ -69,7 +69,7 @@ flatpak_build_branch() {
mkdir -p ${INSTALLDIR} mkdir -p ${INSTALLDIR}
# Use ccache to improve build speed. Clean previous build directories. # Use ccache to improve build speed. Clean previous build directories.
# Keep build dirs for later debugging if ever any build issue arised. # Keep build dirs for later debugging if ever any build issue arises.
BUILD_OPTIONS="--ccache --force-clean --keep-build-dirs --jobs=1" BUILD_OPTIONS="--ccache --force-clean --keep-build-dirs --jobs=1"
SKIP="" SKIP=""

View file

@ -1,7 +1,7 @@
#!/usr/bin/python3 #!/usr/bin/python3
################################################################################ ################################################################################
# Small python script to retrieve DLL depencies with objdump # Small python script to retrieve DLL dependencies with objdump
################################################################################ ################################################################################
################################################################################ ################################################################################
@ -9,9 +9,9 @@
# #
# python3 dll_link.py /path/to/run.exe /winenv/ /path/install # python3 dll_link.py /path/to/run.exe /winenv/ /path/install
# #
# In this case, the DLL depencies for executable run.exe will be extracted and # In this case, the DLL dependencies for executable run.exe will be extracted
# copied into /path/install/bin folder. To copy the DLL, the root path to # and copied into /path/install/bin folder. To copy the DLL, the root path to
# Windows environnement should be passed, here /winenv/. # Windows environnment should be passed, here /winenv/.
import argparse import argparse
import os import os

View file

@ -4,7 +4,7 @@ These functions have been removed from GIMP 3. Most of them were deprecated
since GIMP 2.10.x or older versions. As we bump the major version, it is time since GIMP 2.10.x or older versions. As we bump the major version, it is time
to start with a clean slate. to start with a clean slate.
Below is a correspondance table with replacement function. The replacement is Below is a correspondence table with replacement function. The replacement is
not necessarily a direct search-and-replace equivalent. Some may have different not necessarily a direct search-and-replace equivalent. Some may have different
parameters, and in some case, it may require to think a bit about how things parameters, and in some case, it may require to think a bit about how things
work to reproduce the same functionality. Nevertheless everything which was work to reproduce the same functionality. Nevertheless everything which was

View file

@ -1359,7 +1359,7 @@ PROP_MODE (essential)
31: Screen 31: Screen
32: Difference 32: Difference
33: Addition 33: Addition
34: Substract 34: Subtract
35: Darken only 35: Darken only
36: Lighten only 36: Lighten only
37: Hue (HSV) 37: Hue (HSV)

View file

@ -3492,7 +3492,7 @@ gimp_image_policy_rotate (GimpImage *image,
* `Preferences`. * `Preferences`.
* This function should be used only if you want to follow user * This function should be used only if you want to follow user
* settings. If you intend to convert to a specific profile, call * settings. If you intend to convert to a specific profile, call
* preferrably gimp_image_convert_color_profile(). And if you wish to * preferably gimp_image_convert_color_profile(). And if you wish to
* leave whatever profile an image has, do not call any of these * leave whatever profile an image has, do not call any of these
* functions. * functions.
* Finally it is unnecessary to call this function in a format load * Finally it is unnecessary to call this function in a format load

View file

@ -461,7 +461,7 @@ gimp_procedure_config_set_parasite (GimpProcedureConfig *config,
* String properties are set to the value of the image parasite if * String properties are set to the value of the image parasite if
* @run_mode is %GIMP_RUN_INTERACTIVE or %GIMP_RUN_WITH_LAST_VALS, or * @run_mode is %GIMP_RUN_INTERACTIVE or %GIMP_RUN_WITH_LAST_VALS, or
* if the corresponding argument is an auxiliary argument. As a * if the corresponding argument is an auxiliary argument. As a
* special case, a propery named "gimp-comment" will default to * special case, a property named "gimp-comment" will default to
* gimp_get_default_comment() if there is no "gimp-comment" parasite. * gimp_get_default_comment() if there is no "gimp-comment" parasite.
* *
* After calling this function, the @args passed to run() should be * After calling this function, the @args passed to run() should be

View file

@ -307,7 +307,7 @@ gimp_scale_entry_new (const gchar *text,
* useful if you need to customize some aspects of the widget * useful if you need to customize some aspects of the widget
* *
* By default, it is a #GtkScale, but it can be any other type of * By default, it is a #GtkScale, but it can be any other type of
* #GtkRange if a subclass overrided the new_range_widget() protected * #GtkRange if a subclass overrode the new_range_widget() protected
* method. * method.
* *
* Returns: (transfer none): The #GtkRange contained in @entry. * Returns: (transfer none): The #GtkRange contained in @entry.

View file

@ -3033,7 +3033,7 @@ preferred RGB or grayscale profile will happen, defaulting to built-in
profiles if no preferred profiles were set in `Preferences`. profiles if no preferred profiles were set in `Preferences`.
This function should be used only if you want to follow user settings. This function should be used only if you want to follow user settings.
If you intend to convert to a specific profile, call preferrably If you intend to convert to a specific profile, call preferably
gimp_image_convert_color_profile(). And if you wish to leave whatever gimp_image_convert_color_profile(). And if you wish to leave whatever
profile an image has, do not call any of these functions. profile an image has, do not call any of these functions.

View file

@ -1576,7 +1576,7 @@ get_layer_color (GimpLayer *layer,
GimpRGB col; GimpRGB col;
gdouble red, green, blue, alpha; gdouble red, green, blue, alpha;
gdouble dev, devSum; gdouble dev, devSum;
gdouble median, pixels, count, precentile; gdouble median, pixels, count, percentile;
devSum = 0; devSum = 0;
red = 0; red = 0;
@ -1599,17 +1599,17 @@ get_layer_color (GimpLayer *layer,
gimp_drawable_histogram (GIMP_DRAWABLE (layer), gimp_drawable_histogram (GIMP_DRAWABLE (layer),
GIMP_HISTOGRAM_RED, 0.0, 1.0, GIMP_HISTOGRAM_RED, 0.0, 1.0,
&red, &dev, &median, &pixels, &count, &precentile); &red, &dev, &median, &pixels, &count, &percentile);
devSum += dev; devSum += dev;
gimp_drawable_histogram (GIMP_DRAWABLE (layer), gimp_drawable_histogram (GIMP_DRAWABLE (layer),
GIMP_HISTOGRAM_GREEN, 0.0, 1.0, GIMP_HISTOGRAM_GREEN, 0.0, 1.0,
&green, &dev, &median, &pixels, &count, &precentile); &green, &dev, &median, &pixels, &count, &percentile);
devSum += dev; devSum += dev;
gimp_drawable_histogram (GIMP_DRAWABLE (layer), gimp_drawable_histogram (GIMP_DRAWABLE (layer),
GIMP_HISTOGRAM_BLUE, 0.0, 1.0, GIMP_HISTOGRAM_BLUE, 0.0, 1.0,
&blue, &dev, &median, &pixels, &count, &precentile); &blue, &dev, &median, &pixels, &count, &percentile);
devSum += dev; devSum += dev;
} }
else else
@ -1618,7 +1618,7 @@ get_layer_color (GimpLayer *layer,
gimp_drawable_histogram (GIMP_DRAWABLE (layer), gimp_drawable_histogram (GIMP_DRAWABLE (layer),
GIMP_HISTOGRAM_VALUE, 0.0, 1.0, GIMP_HISTOGRAM_VALUE, 0.0, 1.0,
&red, &dev, &median, &pixels, &count, &precentile); &red, &dev, &median, &pixels, &count, &percentile);
devSum += dev; devSum += dev;
green = red; green = red;
blue = red; blue = red;
@ -1627,7 +1627,7 @@ get_layer_color (GimpLayer *layer,
if (gimp_drawable_has_alpha (GIMP_DRAWABLE (layer))) if (gimp_drawable_has_alpha (GIMP_DRAWABLE (layer)))
gimp_drawable_histogram (GIMP_DRAWABLE (layer), gimp_drawable_histogram (GIMP_DRAWABLE (layer),
GIMP_HISTOGRAM_ALPHA, 0.0, 1.0, GIMP_HISTOGRAM_ALPHA, 0.0, 1.0,
&alpha, &dev, &median, &pixels, &count, &precentile); &alpha, &dev, &median, &pixels, &count, &percentile);
else else
alpha = 255; alpha = 255;

View file

@ -1303,7 +1303,7 @@ load_default_hotspot (GimpImage *image,
if (/* if we cannot load hotspot correctly */ if (/* if we cannot load hotspot correctly */
! get_hotspot_from_parasite (image, &hot_spot_x, &hot_spot_y) || ! get_hotspot_from_parasite (image, &hot_spot_x, &hot_spot_y) ||
/* or hostspot is out of range */ /* or hotspot is out of range */
! pix_in_region (hot_spot_x, hot_spot_y, hotspot_range)) ! pix_in_region (hot_spot_x, hot_spot_y, hotspot_range))
{ {
/* then use top left point of hotspot_range as fallback. */ /* then use top left point of hotspot_range as fallback. */

View file

@ -398,7 +398,7 @@ nlfiltRow (guchar *srclast, guchar *srcthis, guchar *srcnext, guchar *dst,
/* the pixel in question needs to be read. Given this, we only */ /* the pixel in question needs to be read. Given this, we only */
/* need 3 or 4 weightings per hexagon, as follows: */ /* need 3 or 4 weightings per hexagon, as follows: */
/* _ _ */ /* _ _ */
/* Virtical hex: |_|_| 1 2 */ /* Vertical hex: |_|_| 1 2 */
/* |X|_| 0 3 */ /* |X|_| 0 3 */
/* _ */ /* _ */
/* _ _|_| 1 */ /* _ _|_| 1 */
@ -512,10 +512,10 @@ nlfiltInit (gdouble alpha, gdouble radius, FilterType filter)
gdouble tabscale,mtabscale; gdouble tabscale,mtabscale;
gdouble v0,v1,v2,v3,m0,m1,m2,h0,h1,h2,h3; gdouble v0,v1,v2,v3,m0,m1,m2,h0,h1,h2,h3;
/* horizontal offset of virtical hex centers */ /* horizontal offset of vertical hex centers */
hexhoff = radius/2; hexhoff = radius/2;
/* vertical offset of virtical hex centers */ /* vertical offset of vertical hex centers */
hexvoff = 3.0 * radius/sqrt(12.0); hexvoff = 3.0 * radius/sqrt(12.0);
/* /*

View file

@ -142,7 +142,7 @@ wavelet_create_procedure (GimpPlugIn *plug_in,
G_PARAM_READWRITE); G_PARAM_READWRITE);
GIMP_PROC_ARG_BOOLEAN (procedure, "create-group", GIMP_PROC_ARG_BOOLEAN (procedure, "create-group",
"Create grooup", "Create group",
"Create a layer group to store the " "Create a layer group to store the "
"decomposition", "decomposition",
TRUE, TRUE,

View file

@ -56,7 +56,7 @@
/* */ /* */
/******************************************************************************/ /******************************************************************************/
#define VERSIO 0.12 #define VERSION 0.12
/******************************************************************************/ /******************************************************************************/
/* FITS reading/writing library */ /* FITS reading/writing library */

View file

@ -101,7 +101,7 @@ static const LayerModeMapping layer_mode_map[] =
{ "Hue", "hue ", GIMP_LAYER_MODE_HSV_HUE, FALSE }, { "Hue", "hue ", GIMP_LAYER_MODE_HSV_HUE, FALSE },
{ "Hue", "hue ", GIMP_LAYER_MODE_HSV_HUE_LEGACY, FALSE }, { "Hue", "hue ", GIMP_LAYER_MODE_HSV_HUE_LEGACY, FALSE },
/* Stauration (ps3) */ /* Saturation (ps3) */
{ "Saturation", "sat ", GIMP_LAYER_MODE_LCH_CHROMA, FALSE }, { "Saturation", "sat ", GIMP_LAYER_MODE_LCH_CHROMA, FALSE },
{ "Saturation", "sat ", GIMP_LAYER_MODE_HSV_SATURATION, FALSE }, { "Saturation", "sat ", GIMP_LAYER_MODE_HSV_SATURATION, FALSE },
{ "Saturation", "sat ", GIMP_LAYER_MODE_HSV_SATURATION_LEGACY, FALSE }, { "Saturation", "sat ", GIMP_LAYER_MODE_HSV_SATURATION_LEGACY, FALSE },

View file

@ -1156,7 +1156,7 @@ RIGHT_MARGIN = 2
TOTAL_MARGIN = CIRCLE_CENTER_X + RIGHT_MARGIN TOTAL_MARGIN = CIRCLE_CENTER_X + RIGHT_MARGIN
# A widget for displaying and setting the pattern of a spirograph, using a "doughnut" as # A widget for displaying and setting the pattern of a spirograph, using a "doughnut" as
# a visual metaphore. This widget replaces two scale widgets. # a visual metaphor. This widget replaces two scale widgets.
class DoughnutWidget(Gtk.DrawingArea): class DoughnutWidget(Gtk.DrawingArea):
__gtype_name__ = 'DoughnutWidget' __gtype_name__ = 'DoughnutWidget'