Commit 732bcb46 authored by luz.paz's avatar luz.paz Committed by Michael Natterer

Misc. comment typos

Found via `codespell`
parent 680642e3
......@@ -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
......
......@@ -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 ());
......
......@@ -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)
......
......@@ -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;
......
......@@ -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
......
......@@ -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 ())
......
......@@ -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
......
......@@ -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;
......
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment