Misc. comment typos

Found via `codespell`

(cherry picked from commit 732bcb463e)
This commit is contained in:
luz.paz
2018-07-14 07:15:26 -04:00
committed by Michael Natterer
parent e747cbad6b
commit 2883b8fb40
6 changed files with 9 additions and 7 deletions

View File

@ -47,7 +47,7 @@ G_DEFINE_INTERFACE (GimpProgress, gimp_progress, G_TYPE_OBJECT)
static guint progress_signals[LAST_SIGNAL] = { 0 }; static guint progress_signals[LAST_SIGNAL] = { 0 };
/* private functionss */ /* private functions */
static void static void

View File

@ -281,7 +281,7 @@ tool_options_manager_global_notify (GimpCoreConfig *config,
GimpToolInfo *tool_info = list->data; GimpToolInfo *tool_info = list->data;
/* don't change the active tool, it is always fully connected /* 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() * defined/undefined context props in tool_changed()
*/ */
if (tool_info == manager->active_tool) if (tool_info == manager->active_tool)

View File

@ -782,7 +782,7 @@ gimp_transform_grid_tool_real_widget_changed (GimpTransformGridTool *tg_tool)
GimpTransformTool *tr_tool = GIMP_TRANSFORM_TOOL (tg_tool); GimpTransformTool *tr_tool = GIMP_TRANSFORM_TOOL (tg_tool);
GimpToolWidget *widget = tg_tool->widget; GimpToolWidget *widget = tg_tool->widget;
/* supress the call to GimpTransformGridTool::update_widget() when /* suppress the call to GimpTransformGridTool::update_widget() when
* recalculating the matrix * recalculating the matrix
*/ */
tg_tool->widget = NULL; tg_tool->widget = NULL;

View File

@ -951,7 +951,7 @@ typedef enum
* @GIMP_ORIENTATION_VERTICAL: Vertical * @GIMP_ORIENTATION_VERTICAL: Vertical
* @GIMP_ORIENTATION_UNKNOWN: Unknown * @GIMP_ORIENTATION_UNKNOWN: Unknown
* *
* Orientations for verious purposes. * Orientations for various purposes.
**/ **/
#define GIMP_TYPE_ORIENTATION_TYPE (gimp_orientation_type_get_type ()) #define GIMP_TYPE_ORIENTATION_TYPE (gimp_orientation_type_get_type ())

View File

@ -67,7 +67,7 @@ void gimp_pixpipe_params_parse (const gchar *parameters,
/* Build a string representation of GimpPixPipeParams */ /* Build a string representation of GimpPixPipeParams */
gchar * gimp_pixpipe_params_build (GimpPixPipeParams *params) G_GNUC_MALLOC; 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); void gimp_pixpipe_params_free (GimpPixPipeParams *params);
G_END_DECLS G_END_DECLS

View File

@ -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 */ /* 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 (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)); ZeroMemory (&windowplacment, sizeof (WINDOWPLACEMENT));
if (GetWindowPlacement (hwndTarget, &windowplacment) && windowplacment.showCmd == SW_SHOWMAXIMIZED) if (GetWindowPlacement (hwndTarget, &windowplacment) && windowplacment.showCmd == SW_SHOWMAXIMIZED)
{ {
RECT *rectScreens = NULL; 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 * reason then we reset the rectScreens count
*/ */
if (rectScreensCount) if (rectScreensCount)