Commit 6b0d1038 authored by Ville Skyttä's avatar Ville Skyttä Committed by Michael Natterer

Bug 692641 - Various spelling fixes

parent 94a404ed
...@@ -83,7 +83,7 @@ static void windows_actions_single_window_mode_notify (GimpDisplayConfig *confi ...@@ -83,7 +83,7 @@ static void windows_actions_single_window_mode_notify (GimpDisplayConfig *confi
/* The only reason we have "Tab" in the action entries below is to /* The only reason we have "Tab" in the action entries below is to
* give away the hardcoded keyboard shortcut. If the user changes the * give away the hardcoded keyboard shortcut. If the user changes the
* shortcut to something else, both that shortcut and Tab will * shortcut to something else, both that shortcut and Tab will
* work. The reason we have the shortcut hardcoded is beccause * work. The reason we have the shortcut hardcoded is because
* gtk_accelerator_valid() returns FALSE for GDK_tab. * gtk_accelerator_valid() returns FALSE for GDK_tab.
*/ */
......
...@@ -458,7 +458,7 @@ gimp_rc_query (GimpRc *rc, ...@@ -458,7 +458,7 @@ gimp_rc_query (GimpRc *rc,
} }
/** /**
* gimp_rc_set_unkown_token: * gimp_rc_set_unknown_token:
* @gimprc: a #GimpRc object. * @gimprc: a #GimpRc object.
* @token: * @token:
* @value: * @value:
......
...@@ -470,7 +470,7 @@ gimp_edit_fill (GimpImage *image, ...@@ -470,7 +470,7 @@ gimp_edit_fill (GimpImage *image,
break; break;
case GIMP_NO_FILL: case GIMP_NO_FILL:
return TRUE; /* nothing to do, but the fill succeded */ return TRUE; /* nothing to do, but the fill succeeded */
default: default:
g_warning ("%s: unknown fill type", G_STRFUNC); g_warning ("%s: unknown fill type", G_STRFUNC);
...@@ -504,7 +504,7 @@ gimp_edit_fill_full (GimpImage *image, ...@@ -504,7 +504,7 @@ gimp_edit_fill_full (GimpImage *image,
g_return_val_if_fail (color != NULL || pattern != NULL, FALSE); g_return_val_if_fail (color != NULL || pattern != NULL, FALSE);
if (! gimp_item_mask_intersect (GIMP_ITEM (drawable), &x, &y, &width, &height)) if (! gimp_item_mask_intersect (GIMP_ITEM (drawable), &x, &y, &width, &height))
return TRUE; /* nothing to do, but the fill succeded */ return TRUE; /* nothing to do, but the fill succeeded */
if (pattern && if (pattern &&
babl_format_has_alpha (gimp_temp_buf_get_format (pattern->mask)) && babl_format_has_alpha (gimp_temp_buf_get_format (pattern->mask)) &&
......
...@@ -128,7 +128,7 @@ gimp_coords_scalarprod (const GimpCoords *a, ...@@ -128,7 +128,7 @@ gimp_coords_scalarprod (const GimpCoords *a,
/* /*
* The "lenght" of the gimpcoord. * The "length" of the gimpcoord.
* Applies a metric that increases the weight on the * Applies a metric that increases the weight on the
* pressure/xtilt/ytilt/wheel to ensure proper interpolation * pressure/xtilt/ytilt/wheel to ensure proper interpolation
*/ */
......
...@@ -296,7 +296,7 @@ gimp_filtered_container_real_src_thaw (GimpFilteredContainer *filtered_container ...@@ -296,7 +296,7 @@ gimp_filtered_container_real_src_thaw (GimpFilteredContainer *filtered_container
* *
* Creates a new #GimpFilteredContainer object which creates filtered * Creates a new #GimpFilteredContainer object which creates filtered
* data view of #GimpTagged objects. It filters @src_container for objects * data view of #GimpTagged objects. It filters @src_container for objects
* containing all of the filtering tags. Syncronization with @src_container * containing all of the filtering tags. Synchronization with @src_container
* data is performed automatically. * data is performed automatically.
* *
* Return value: a new #GimpFilteredContainer object. * Return value: a new #GimpFilteredContainer object.
......
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
* remove duplicate or unused colour entries from final colourmap. [Adam] * remove duplicate or unused colour entries from final colourmap. [Adam]
* *
* 99/02/24 - Many revisions to the box-cut quantizer used in RGB->INDEXED * 99/02/24 - Many revisions to the box-cut quantizer used in RGB->INDEXED
* conversion. Box to be cut is chosen on the basis of posessing an axis * conversion. Box to be cut is chosen on the basis of possessing an axis
* with the largest sum of weighted perceptible error, rather than based on * with the largest sum of weighted perceptible error, rather than based on
* volume or population. The box is split along this axis rather than its * volume or population. The box is split along this axis rather than its
* longest axis, at the point of error mean rather than simply at its centre. * longest axis, at the point of error mean rather than simply at its centre.
......
...@@ -102,7 +102,7 @@ struct _GimpImagePrivate ...@@ -102,7 +102,7 @@ struct _GimpImagePrivate
gint group_count; /* nested undo groups */ gint group_count; /* nested undo groups */
GimpUndoType pushing_undo_group; /* undo group status flag */ GimpUndoType pushing_undo_group; /* undo group status flag */
/* Signal emmision accumulator */ /* Signal emission accumulator */
GimpImageFlushAccumulator flush_accum; GimpImageFlushAccumulator flush_accum;
}; };
......
...@@ -680,7 +680,7 @@ gimp_image_snap_rectangle (GimpImage *image, ...@@ -680,7 +680,7 @@ gimp_image_snap_rectangle (GimpImage *image,
* Finds out if snapping occurs from position to a snapping candidate * Finds out if snapping occurs from position to a snapping candidate
* and sets the target accordingly. * and sets the target accordingly.
* *
* Return value: %TRUE if snapping occured, %FALSE otherwise * Return value: %TRUE if snapping occurred, %FALSE otherwise
*/ */
static gboolean static gboolean
gimp_image_snap_distance (const gdouble unsnapped, gimp_image_snap_distance (const gdouble unsnapped,
......
...@@ -195,7 +195,7 @@ gimp_sub_progress_message (GimpProgress *progress, ...@@ -195,7 +195,7 @@ gimp_sub_progress_message (GimpProgress *progress,
* @progress: parent progress or %NULL * @progress: parent progress or %NULL
* *
* GimpSubProgress implements the GimpProgress interface and can be * GimpSubProgress implements the GimpProgress interface and can be
* used whereever a GimpProgress is needed. It maps progress * used wherever a GimpProgress is needed. It maps progress
* information to a sub-range of its parent @progress. This is useful * information to a sub-range of its parent @progress. This is useful
* when an action breaks down into multiple sub-actions that itself * when an action breaks down into multiple sub-actions that itself
* need a #GimpProgress pointer. See gimp_image_scale() for an example. * need a #GimpProgress pointer. See gimp_image_scale() for an example.
......
...@@ -256,7 +256,7 @@ gimp_tagged_container_src_thaw (GimpFilteredContainer *filtered_container) ...@@ -256,7 +256,7 @@ gimp_tagged_container_src_thaw (GimpFilteredContainer *filtered_container)
* *
* Creates a new #GimpTaggedContainer object which creates filtered * Creates a new #GimpTaggedContainer object which creates filtered
* data view of #GimpTagged objects. It filters @src_container for * data view of #GimpTagged objects. It filters @src_container for
* objects containing all of the filtering tags. Syncronization with * objects containing all of the filtering tags. Synchronization with
* @src_container data is performed automatically. * @src_container data is performed automatically.
* *
* Return value: a new #GimpTaggedContainer object. * Return value: a new #GimpTaggedContainer object.
......
...@@ -128,7 +128,7 @@ gimp_tool_options_dispose (GObject *object) ...@@ -128,7 +128,7 @@ gimp_tool_options_dispose (GObject *object)
G_OBJECT_CLASS (parent_class)->dispose (object); G_OBJECT_CLASS (parent_class)->dispose (object);
} }
/* This is such a horrible hack, but neccessary because we /* This is such a horrible hack, but necessary because we
* a) load an option's tool-info from disk in many cases * a) load an option's tool-info from disk in many cases
* b) screwed up in the past and saved the wrong tool-info in some cases * b) screwed up in the past and saved the wrong tool-info in some cases
*/ */
......
...@@ -885,7 +885,7 @@ gimp_display_paint_area (GimpDisplay *display, ...@@ -885,7 +885,7 @@ gimp_display_paint_area (GimpDisplay *display,
/* make sure to expose a superset of the transformed sub-pixel expose /* make sure to expose a superset of the transformed sub-pixel expose
* area, not a subset. bug #126942. --mitch * area, not a subset. bug #126942. --mitch
* *
* also acommodate for spill introduced by potential box filtering. * also accommodate for spill introduced by potential box filtering.
* (bug #474509). --simon * (bug #474509). --simon
*/ */
x1 = floor (x1_f - 0.5); x1 = floor (x1_f - 0.5);
......
...@@ -622,7 +622,7 @@ gimp_display_shell_scale_handle_zoom_revert (GimpDisplayShell *shell) ...@@ -622,7 +622,7 @@ gimp_display_shell_scale_handle_zoom_revert (GimpDisplayShell *shell)
* *
* Directly sets the image scale and image offsets used by the display. If * Directly sets the image scale and image offsets used by the display. If
* @resize_window is %TRUE then the display window is resized to better * @resize_window is %TRUE then the display window is resized to better
* accomodate the image, see gimp_display_shell_shrink_wrap(). * accommodate the image, see gimp_display_shell_shrink_wrap().
**/ **/
void void
gimp_display_shell_scale_by_values (GimpDisplayShell *shell, gimp_display_shell_scale_by_values (GimpDisplayShell *shell,
...@@ -681,7 +681,7 @@ gimp_display_shell_scale_shrink_wrap (GimpDisplayShell *shell, ...@@ -681,7 +681,7 @@ gimp_display_shell_scale_shrink_wrap (GimpDisplayShell *shell,
* *
* Function commonly called after a change in display scale to make the changes * Function commonly called after a change in display scale to make the changes
* visible to the user. If @resize_window is %TRUE then the display window is * visible to the user. If @resize_window is %TRUE then the display window is
* resized to accomodate the display image as per * resized to accommodate the display image as per
* gimp_display_shell_shrink_wrap(). * gimp_display_shell_shrink_wrap().
**/ **/
void void
......
...@@ -876,7 +876,7 @@ gimp_display_shell_canvas_tool_events (GtkWidget *canvas, ...@@ -876,7 +876,7 @@ gimp_display_shell_canvas_tool_events (GtkWidget *canvas,
* to lower border. The second is due to poor X event * to lower border. The second is due to poor X event
* resolution. We need to do -1 to ensure that the * resolution. We need to do -1 to ensure that the
* amount of events between timestamps is final or * amount of events between timestamps is final or
* risk loosing some. * risk losing some.
*/ */
last_motion_time = last_motion_time =
gimp_motion_buffer_get_last_motion_time (shell->motion_buffer); gimp_motion_buffer_get_last_motion_time (shell->motion_buffer);
......
...@@ -191,7 +191,7 @@ file_save (Gimp *gimp, ...@@ -191,7 +191,7 @@ file_save (Gimp *gimp,
} }
else if (export_forward) else if (export_forward)
{ {
/* Remeber the last entered Export URI for the image. We /* Remember the last entered Export URI for the image. We
* only need to do this explicitly when exporting. It * only need to do this explicitly when exporting. It
* happens implicitly when saving since the GimpObject name * happens implicitly when saving since the GimpObject name
* of a GimpImage is the last-save URI * of a GimpImage is the last-save URI
......
...@@ -536,7 +536,7 @@ gimp_ui_configurer_get_uber_window (GimpUIConfigurer *ui_configurer) ...@@ -536,7 +536,7 @@ gimp_ui_configurer_get_uber_window (GimpUIConfigurer *ui_configurer)
* @ui_configurer: * @ui_configurer:
* *
* Updates the appearance of all shells in all image windows, so they * Updates the appearance of all shells in all image windows, so they
* do whatever they deem neccessary to fit the new UI mode mode. * do whatever they deem necessary to fit the new UI mode mode.
**/ **/
static void static void
gimp_ui_configurer_update_appearance (GimpUIConfigurer *ui_configurer) gimp_ui_configurer_update_appearance (GimpUIConfigurer *ui_configurer)
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
/*#define DEBUG_CAGE */ /*#define DEBUG_CAGE */
/* This DELTA is aimed to not have handle on exact pixel during computation, /* This DELTA is aimed to not have handle on exact pixel during computation,
* to avoid particular case. It shouldn't be so usefull, but it's a double * to avoid particular case. It shouldn't be so useful, but it's a double
* safety. */ * safety. */
#define DELTA 0.010309278351 #define DELTA 0.010309278351
...@@ -334,7 +334,7 @@ gimp_cage_config_get_point_coordinate (GimpCageConfig *gcc, ...@@ -334,7 +334,7 @@ gimp_cage_config_get_point_coordinate (GimpCageConfig *gcc,
* @y: y displacement value * @y: y displacement value
* *
* Add a displacement for all slected point of the cage. * Add a displacement for all slected point of the cage.
* This displacement need to be commited to become effective. * This displacement need to be committed to become effective.
*/ */
void void
gimp_cage_config_add_displacement (GimpCageConfig *gcc, gimp_cage_config_add_displacement (GimpCageConfig *gcc,
......
...@@ -93,7 +93,7 @@ gimp_operation_color_balance_map (gfloat value, ...@@ -93,7 +93,7 @@ gimp_operation_color_balance_map (gfloat value,
* ‾\___ * ‾\___
* _/‾\_ * _/‾\_
* ___/‾ * ___/‾
* whith ramps of width a at x = b and x = 1 - b. * with ramps of width a at x = b and x = 1 - b.
* *
* The sum of these masks equals 1 for x in 0..1, so applying the * The sum of these masks equals 1 for x in 0..1, so applying the
* same correction in the shadows and in the midtones is equivalent * same correction in the shadows and in the midtones is equivalent
......
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
* *
* The method used here is similar to the lighting invariant correctin * The method used here is similar to the lighting invariant correctin
* method but slightly different: we do not divide the RGB components, * method but slightly different: we do not divide the RGB components,
* but substract them I2 = I0 - I1, where I0 is the sample image to be * but subtract them I2 = I0 - I1, where I0 is the sample image to be
* corrected, I1 is the reference pattern. Then we solve DeltaI=0 * corrected, I1 is the reference pattern. Then we solve DeltaI=0
* (Laplace) with I2 Dirichlet conditions at the borders of the * (Laplace) with I2 Dirichlet conditions at the borders of the
* mask. The solver is a unoptimized red/black checker Gauss-Siedel * mask. The solver is a unoptimized red/black checker Gauss-Siedel
...@@ -430,7 +430,7 @@ gimp_heal (GeglBuffer *src_buffer, ...@@ -430,7 +430,7 @@ gimp_heal (GeglBuffer *src_buffer,
GEGL_AUTO_ROWSTRIDE, GEGL_AUTO_ROWSTRIDE,
(GDestroyNotify) g_free, i_2); (GDestroyNotify) g_free, i_2);
/* substract pattern from image and store the result as a double in i_1 */ /* subtract pattern from image and store the result as a double in i_1 */
gimp_heal_sub (dest_buffer, dest_rect, gimp_heal_sub (dest_buffer, dest_rect,
src_buffer, src_rect, src_buffer, src_rect,
i_1_buffer, GEGL_RECTANGLE (0, 0, width, height)); i_1_buffer, GEGL_RECTANGLE (0, 0, width, height));
......
...@@ -263,7 +263,7 @@ register_floating_sel_procs (GimpPDB *pdb) ...@@ -263,7 +263,7 @@ register_floating_sel_procs (GimpPDB *pdb)
gimp_procedure_set_static_strings (procedure, gimp_procedure_set_static_strings (procedure,
"gimp-floating-sel-to-layer", "gimp-floating-sel-to-layer",
"Transforms the specified floating selection into a layer.", "Transforms the specified floating selection into a layer.",
"This procedure transforms the specified floating selection into a layer with the same offsets and extents. The composited image will look precisely the same, but the floating selection layer will no longer be clipped to the extents of the drawable it was attached to. The floating selection will become the active layer. This procedure will not work if the floating selection has a different base type from the underlying image. This might be the case if the floating selection is above an auxillary channel or a layer mask.", "This procedure transforms the specified floating selection into a layer with the same offsets and extents. The composited image will look precisely the same, but the floating selection layer will no longer be clipped to the extents of the drawable it was attached to. The floating selection will become the active layer. This procedure will not work if the floating selection has a different base type from the underlying image. This might be the case if the floating selection is above an auxiliary channel or a layer mask.",
"Spencer Kimball & Peter Mattis", "Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis", "Spencer Kimball & Peter Mattis",
"1995-1996", "1995-1996",
......
...@@ -186,7 +186,7 @@ gimp_test_session_load_and_write_session_files (const gchar *loaded_sessionrc, ...@@ -186,7 +186,7 @@ gimp_test_session_load_and_write_session_files (const gchar *loaded_sessionrc,
sessionrc_filename = gimp_personal_rc_file (expected_sessionrc); sessionrc_filename = gimp_personal_rc_file (expected_sessionrc);
dockrc_filename = gimp_personal_rc_file (expected_dockrc); dockrc_filename = gimp_personal_rc_file (expected_dockrc);
/* Remeber the modtimes and MD5s */ /* Remember the modtimes and MD5s */
g_assert (gimp_test_get_file_state_verbose (sessionrc_filename, g_assert (gimp_test_get_file_state_verbose (sessionrc_filename,
&initial_sessionrc_state)); &initial_sessionrc_state));
g_assert (gimp_test_get_file_state_verbose (dockrc_filename, g_assert (gimp_test_get_file_state_verbose (dockrc_filename,
......
...@@ -289,7 +289,7 @@ keyboard_zoom_focus (gconstpointer data) ...@@ -289,7 +289,7 @@ keyboard_zoom_focus (gconstpointer data)
&shell_y_after_zoom); &shell_y_after_zoom);
factor_after_zoom = gimp_zoom_model_get_factor (shell->zoom); factor_after_zoom = gimp_zoom_model_get_factor (shell->zoom);
/* First of all make sure a zoom happend at all. If this assert /* First of all make sure a zoom happened at all. If this assert
* fails, it means that the zoom didn't happen. Possible causes: * fails, it means that the zoom didn't happen. Possible causes:
* *
* * gdk_test_simulate_key() failed to map 'GDK_KEY_plus' to the proper * * gdk_test_simulate_key() failed to map 'GDK_KEY_plus' to the proper
...@@ -443,7 +443,7 @@ restore_recently_closed_multi_column_dock (gconstpointer data) ...@@ -443,7 +443,7 @@ restore_recently_closed_multi_column_dock (gconstpointer data)
*/ */
gimp_ui_manager_activate_action (gimp_test_utils_get_ui_manager (gimp), gimp_ui_manager_activate_action (gimp_test_utils_get_ui_manager (gimp),
"windows", "windows",
/* FIXME: This is severly hardcoded */ /* FIXME: This is severely hardcoded */
"windows-recent-0003"); "windows-recent-0003");
gimp_test_run_mainloop_until_idle (); gimp_test_run_mainloop_until_idle ();
session_infos = gimp_dialog_factory_get_session_infos (gimp_dialog_factory_get_singleton ()); session_infos = gimp_dialog_factory_get_session_infos (gimp_dialog_factory_get_singleton ());
......
...@@ -74,7 +74,7 @@ typedef struct ...@@ -74,7 +74,7 @@ typedef struct
gint max_n_saved_points_lower_segment; gint max_n_saved_points_lower_segment;
gint max_n_saved_points_higher_segment; gint max_n_saved_points_higher_segment;
/* Keeps track wether or not a modification of the polygon has been /* Keeps track whether or not a modification of the polygon has been
* made between _button_press and _button_release * made between _button_press and _button_release
*/ */
gboolean polygon_modified; gboolean polygon_modified;
...@@ -105,12 +105,12 @@ typedef struct ...@@ -105,12 +105,12 @@ typedef struct
/* The selection operation active when the tool was started */ /* The selection operation active when the tool was started */
GimpChannelOps operation_at_start; GimpChannelOps operation_at_start;
/* Wether or not to constrain the angle for newly created polygonal /* Whether or not to constrain the angle for newly created polygonal
* segments. * segments.
*/ */
gboolean constrain_angle; gboolean constrain_angle;
/* Wether or not to supress handles (so that new segments can be /* Whether or not to suppress handles (so that new segments can be
* created immediately after an existing segment vertex. * created immediately after an existing segment vertex.
*/ */
gboolean supress_handles; gboolean supress_handles;
...@@ -806,7 +806,7 @@ gimp_free_select_tool_handle_click (GimpFreeSelectTool *fst, ...@@ -806,7 +806,7 @@ gimp_free_select_tool_handle_click (GimpFreeSelectTool *fst,
} }
/* After the segments are up to date and we have handled /* After the segments are up to date and we have handled
* double-click, see if it's commiting time * double-click, see if it's committing time
*/ */
if (gimp_free_select_tool_should_close (fst, if (gimp_free_select_tool_should_close (fst,
display, display,
...@@ -838,7 +838,7 @@ gimp_free_select_tool_handle_normal_release (GimpFreeSelectTool *fst, ...@@ -838,7 +838,7 @@ gimp_free_select_tool_handle_normal_release (GimpFreeSelectTool *fst,
gimp_free_select_tool_finish_free_segment (fst); gimp_free_select_tool_finish_free_segment (fst);
} }
/* After the segments are up to date, see if it's commiting time */ /* After the segments are up to date, see if it's committing time */
if (gimp_free_select_tool_should_close (fst, if (gimp_free_select_tool_should_close (fst,
display, display,
NO_CLICK_TIME_AVAILABLE, NO_CLICK_TIME_AVAILABLE,
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
*/ */
/* The history of this implementation is lonog and varied. It was /* The history of this implementation is lonog and varied. It was
* orignally done by Spencer and Peter, and worked fine in the 0.54 * originally done by Spencer and Peter, and worked fine in the 0.54
* (motif only) release of GIMP. Later revisions (0.99.something * (motif only) release of GIMP. Later revisions (0.99.something
* until about 1.1.4) completely changed the algorithm used, until it * until about 1.1.4) completely changed the algorithm used, until it
* bore little resemblance to the one described in the paper above. * bore little resemblance to the one described in the paper above.
...@@ -1567,7 +1567,7 @@ find_optimal_path (TileManager *gradient_map, ...@@ -1567,7 +1567,7 @@ find_optimal_path (TileManager *gradient_map,
{ {
min_cost = G_MAXINT; min_cost = G_MAXINT;
/* pixel[] array encodes how to get to a neigbour, if possible. /* pixel[] array encodes how to get to a neighbour, if possible.
* 0 means no connection (eg edge). * 0 means no connection (eg edge).
* Rest packed as bottom two bytes: y offset then x offset. * Rest packed as bottom two bytes: y offset then x offset.
* Initially, we assume we can't get anywhere. */ * Initially, we assume we can't get anywhere. */
......
...@@ -369,7 +369,7 @@ gimp_rectangle_select_tool_button_press (GimpTool *tool, ...@@ -369,7 +369,7 @@ gimp_rectangle_select_tool_button_press (GimpTool *tool,
display, coords)) display, coords))
{ {
/* In some cases we want to finish the rectangle select tool /* In some cases we want to finish the rectangle select tool
* and hand over responsability to the selection tool * and hand over responsibility to the selection tool
*/ */
gimp_rectangle_tool_execute (rectangle); gimp_rectangle_tool_execute (rectangle);
gimp_rectangle_tool_control (tool, GIMP_TOOL_ACTION_HALT, display); gimp_rectangle_tool_control (tool, GIMP_TOOL_ACTION_HALT, display);
......
...@@ -108,7 +108,7 @@ struct _GimpRectangleToolPrivate ...@@ -108,7 +108,7 @@ struct _GimpRectangleToolPrivate
* during gimp_rectangle_tool_button_press and then only read. * during gimp_rectangle_tool_button_press and then only read.
*/ */
/* Wether or not the rectangle currently being rubber-banded was /* Whether or not the rectangle currently being rubber-banded was
* created from scatch. * created from scatch.
*/ */
gboolean is_new; gboolean is_new;
...@@ -148,7 +148,7 @@ struct _GimpRectangleToolPrivate ...@@ -148,7 +148,7 @@ struct _GimpRectangleToolPrivate
* TODO: Change the internal double-representation of the rectangle * TODO: Change the internal double-representation of the rectangle
* to x,y width,height instead of x1,y1 x2,y2. That way we don't * to x,y width,height instead of x1,y1 x2,y2. That way we don't
* need to keep a separate representation of the integer version of * need to keep a separate representation of the integer version of
* the rectangle; rounding width an height will yield consistant * the rectangle; rounding width an height will yield consistent
* results and not depend on position of the rectangle. * results and not depend on position of the rectangle.
*/ */
gint x1_int, y1_int; gint x1_int, y1_int;
...@@ -179,7 +179,7 @@ struct _GimpRectangleToolPrivate ...@@ -179,7 +179,7 @@ struct _GimpRectangleToolPrivate
gint top_and_bottom_handle_w; gint top_and_bottom_handle_w;
gint left_and_right_handle_h; gint left_and_right_handle_h;
/* Wether or not the rectangle is in a 'narrow situation' i.e. it is /* Whether or not the rectangle is in a 'narrow situation' i.e. it is
* too small for reasonable sized handle to be inside. In this case * too small for reasonable sized handle to be inside. In this case
* we put handles on the outside. * we put handles on the outside.
*/ */
...@@ -1296,7 +1296,7 @@ gimp_rectangle_tool_active_modifier_key (GimpTool *tool, ...@@ -1296,7 +1296,7 @@ gimp_rectangle_tool_active_modifier_key (GimpTool *tool,
/* Only emit the rectangle-changed signal if the button is /* Only emit the rectangle-changed signal if the button is
* not down. If it is down, the signal will and shall be * not down. If it is down, the signal will and shall be
* emited on _button_release instead. * emitted on _button_release instead.
*/ */
if (! button1_down) if (! button1_down)
{ {
...@@ -4021,7 +4021,7 @@ gimp_rectangle_tool_apply_fixed_rule (GimpRectangleTool *rect_tool) ...@@ -4021,7 +4021,7 @@ gimp_rectangle_tool_apply_fixed_rule (GimpRectangleTool *rect_tool)
* @min_y: * @min_y:
* @max_x: * @max_x:
* @max_y: Pointers of where to put constraints. NULL allowed. * @max_y: Pointers of where to put constraints. NULL allowed.
* @constraint: Wether to return image or layer constraints. * @constraint: Whether to return image or layer constraints.
* *
* Calculates constraint coordinates for image or layer. * Calculates constraint coordinates for image or layer.
*/ */
......
...@@ -1017,7 +1017,7 @@ gimp_bezier_stroke_is_extendable (GimpStroke *stroke, ...@@ -1017,7 +1017,7 @@ gimp_bezier_stroke_is_extendable (GimpStroke *stroke,
else else
{ {
/* /*
* it isnt. if we are on a handle go to the nearest * It isn't. If we are on a handle go to the nearest
* anchor and see if we can find an end from it. * anchor and see if we can find an end from it.
* Yes, this is tedious. * Yes, this is tedious.
*/ */
...@@ -1130,7 +1130,7 @@ gimp_bezier_stroke_extend (GimpStroke *stroke, ...@@ -1130,7 +1130,7 @@ gimp_bezier_stroke_extend (GimpStroke *stroke,
else else
{ {
/* /*
* it isnt. if we are on a handle go to the nearest * It isn't. If we are on a handle go to the nearest
* anchor and see if we can find an end from it. * anchor and see if we can find an end from it.
* Yes, this is tedious. * Yes, this is tedious.
*/ */
......
...@@ -1276,7 +1276,7 @@ gimp_dockbook_set_drag_handler (GimpDockbook *dockbook, ...@@ -1276,7 +1276,7 @@ gimp_dockbook_set_drag_handler (GimpDockbook *dockbook,
* @drag_source: A drag-and-drop source widget * @drag_source: A drag-and-drop source widget
* *
* Gets the dockable associated with a drag-and-drop source. If * Gets the dockable associated with a drag-and-drop source. If
* successfull, the function will also cleanup the dockable. * successful, the function will also cleanup the dockable.
* *
* Returns: The dockable * Returns: The dockable
**/ **/
......
...@@ -1184,7 +1184,7 @@ gimp_file_dialog_get_dirname_from_uri (const gchar *uri) ...@@ -1184,7 +1184,7 @@ gimp_file_dialog_get_dirname_from_uri (const gchar *uri)
* assertion failure in gtk+. This scenario occurs if we have opened * assertion failure in gtk+. This scenario occurs if we have opened
* an image from the root of a drive and then do Save As. * an image from the root of a drive and then do Save As.
* *
* Of course, gtk+ shouldn't assert even if we feed it slighly bogus * Of course, gtk+ shouldn't assert even if we feed it slightly bogus
* data, and that problem should be fixed, too. But to get the * data, and that problem should be fixed, too. But to get the
* correct default current folder in the filechooser combo box, we * correct default current folder in the filechooser combo box, we
* need to pass it the proper URI for an absolute path anyway. So * need to pass it the proper URI for an absolute path anyway. So
......
...@@ -382,7 +382,7 @@ gimp_tag_entry_activate (GtkEntry *entry) ...@@ -382,7 +382,7 @@ gimp_tag_entry_activate (GtkEntry *entry)
* *
* Sets tags from @tag_string to @tag_entry. Given tags do not need to * Sets tags from @tag_string to @tag_entry. Given tags do not need to
* be valid as they can be fixed or dropped automatically. Depending on * be valid as they can be fixed or dropped automatically. Depending on
* selected #GimpTagEntryMode, appropriate action is peformed. * selected #GimpTagEntryMode, appropriate action is performed.
**/ **/
void void
gimp_tag_entry_set_tag_string (GimpTagEntry *entry, gimp_tag_entry_set_tag_string (GimpTagEntry *entry,
......
...@@ -463,7 +463,7 @@ gimp_tool_options_editor_tool_changed (GimpContext *context, ...@@ -463,7 +463,7 @@ gimp_tool_options_editor_tool_changed (GimpContext *context,
/* This will warn if tool info is changed to nothing. /* This will warn if tool info is changed to nothing.
* This seems to happen if starting in SWM with tool editor visible * This seems to happen if starting in SWM with tool editor visible
* Maybe its normal, and the code should just be writen to * Maybe its normal, and the code should just be written to
* handle this case, but someone smarter needs to take a look*/ * handle this case, but someone smarter needs to take a look*/
g_return_if_fail(GIMP_IS_TOOL_INFO(tool_info)); g_return_if_fail(GIMP_IS_TOOL_INFO(tool_info));
......
...@@ -1055,7 +1055,7 @@ fi ...@@ -1055,7 +1055,7 @@ fi
if test "x$with_libtiff" != xno && test -z "$TIFF_LIBS"; then if test "x$with_libtiff" != xno && test -z "$TIFF_LIBS"; then
AC_MSG_ERROR([ AC_MSG_ERROR([
*** Checks for TIFF libary failed. You can build without it by passing *** Checks for TIFF library failed. You can build without it by passing