summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2022-01-01 11:01:27 (GMT)
committerfvogel <fvogelnew1@free.fr>2022-01-01 11:01:27 (GMT)
commitafb58cdbb8ce573b6a78c8541345ad77d220be65 (patch)
tree53d67c10b8a1db3cf407c21457d1ef003e8b2cb7
parent253c11af15b918b40e3fb60ed17ef09c7dace438 (diff)
parent0d207d8ae333209a43b8d7fef08e3b51db4125e5 (diff)
downloadtk-afb58cdbb8ce573b6a78c8541345ad77d220be65.zip
tk-afb58cdbb8ce573b6a78c8541345ad77d220be65.tar.gz
tk-afb58cdbb8ce573b6a78c8541345ad77d220be65.tar.bz2
Correct typos in various comments.
-rw-r--r--generic/tkFocus.c8
-rw-r--r--generic/tkGeometry.c2
-rw-r--r--macosx/tkMacOSXWm.c2
-rw-r--r--unix/tkUnixWm.c2
-rw-r--r--win/tkWinWm.c12
5 files changed, 13 insertions, 13 deletions
diff --git a/generic/tkFocus.c b/generic/tkFocus.c
index 5dc542a..0793db1 100644
--- a/generic/tkFocus.c
+++ b/generic/tkFocus.c
@@ -315,7 +315,7 @@ TkFocusFilterEvent(
* embedded child. We don't care about this, although we may end
* up getting a NotifyPointer later.
* NotifyInferior - focus is coming to us from an embedded child. When
- * focus is on an embeded focus, we still think we have the
+ * focus is on an embedded focus, we still think we have the
* focus, too, so this message doesn't change our state.
* NotifyPointerRoot - should never happen because this is sent to the
* root window.
@@ -369,7 +369,7 @@ TkFocusFilterEvent(
}
/*
- * If winPtr isn't a top-level window than just ignore the event.
+ * If winPtr isn't a top-level window then just ignore the event.
*/
winPtr = TkWmFocusToplevel(winPtr);
@@ -636,7 +636,7 @@ TkSetFocusWin(
* We are assigning focus to an embedded toplevel. The platform
* specific function TkpClaimFocus needs to handle the job of
* assigning focus to the container, since we have no way to find the
- * contaiuner.
+ * container.
*/
TkpClaimFocus(topLevelPtr, force);
@@ -1167,7 +1167,7 @@ TkFocusSplit(
*
* TkFocusJoin --
*
- * Remove the focus record for this window that is nolonger managed
+ * Remove the focus record for this window that is no longer managed
*
* Results:
* None.
diff --git a/generic/tkGeometry.c b/generic/tkGeometry.c
index 35bf58e..10344f7 100644
--- a/generic/tkGeometry.c
+++ b/generic/tkGeometry.c
@@ -561,7 +561,7 @@ Tk_MaintainGeometry(
void
Tk_UnmaintainGeometry(
- Tk_Window window, /* WIndow for geometry management. */
+ Tk_Window window, /* Window for geometry management. */
Tk_Window container) /* Container for window; must be a descendant of
* window's parent. */
{
diff --git a/macosx/tkMacOSXWm.c b/macosx/tkMacOSXWm.c
index 2931763..5934e85 100644
--- a/macosx/tkMacOSXWm.c
+++ b/macosx/tkMacOSXWm.c
@@ -3873,7 +3873,7 @@ WmTransientCmd(
}
for (w = containerPtr; w != NULL && w->wmInfoPtr != NULL;
- w = (TkWindow *)w->wmInfoPtr->container) {
+ w = (TkWindow *)w->wmInfoPtr->container) {
if (w == winPtr) {
Tcl_SetObjResult(interp, Tcl_ObjPrintf(
"can't set \"%s\" as container: would cause management loop",
diff --git a/unix/tkUnixWm.c b/unix/tkUnixWm.c
index a67684c..ef47c51 100644
--- a/unix/tkUnixWm.c
+++ b/unix/tkUnixWm.c
@@ -3643,7 +3643,7 @@ WmTransientCmd(
}
for (w = containerPtr; w != NULL && w->wmInfoPtr != NULL;
- w = (TkWindow *)w->wmInfoPtr->containerPtr) {
+ w = (TkWindow *)w->wmInfoPtr->containerPtr) {
if (w == winPtr) {
Tcl_SetObjResult(interp, Tcl_ObjPrintf(
"can't set \"%s\" as container: would cause management loop",
diff --git a/win/tkWinWm.c b/win/tkWinWm.c
index 770b0a2..87c236e 100644
--- a/win/tkWinWm.c
+++ b/win/tkWinWm.c
@@ -5502,7 +5502,7 @@ WmTransientCmd(
return TCL_ERROR;
}
for (w = containerPtr; w != NULL && w->wmInfoPtr != NULL;
- w = (TkWindow *)w->wmInfoPtr->containerPtr) {
+ w = (TkWindow *)w->wmInfoPtr->containerPtr) {
if (w == winPtr) {
Tcl_SetObjResult(interp, Tcl_ObjPrintf(
"can't set \"%s\" as container: would cause management loop",
@@ -8219,7 +8219,7 @@ ActivateWindow(
/*
* If the toplevel is in the middle of a move or size operation then
* we must delay handling of this event to avoid stealing the focus
- * while the window manage is in control.
+ * while the window manager is in control.
*/
if (eventPtr->flagPtr && *eventPtr->flagPtr) {
@@ -8287,7 +8287,7 @@ TkWinSetForegroundWindow(
*
* TkpWinToplevelWithdraw --
*
- * This function is to be used by a window manage to withdraw a toplevel
+ * This function is to be used by a window manager to withdraw a toplevel
* window.
*
* Results:
@@ -8314,7 +8314,7 @@ TkpWinToplevelWithDraw(
*
* TkpWinToplevelIconify --
*
- * This function is to be used by a window manage to iconify a toplevel
+ * This function is to be used by a window manager to iconify a toplevel
* window.
*
* Results:
@@ -8338,7 +8338,7 @@ TkpWinToplevelIconify(
*
* TkpWinToplevelDeiconify --
*
- * This function is to be used by a window manage to deiconify a toplevel
+ * This function is to be used by a window manager to deiconify a toplevel
* window.
*
* Results:
@@ -8405,7 +8405,7 @@ TkpWinToplevelDeiconify(
*
* TkpWinGeometryIsControlledByWm --
*
- * This function is to be used by a window manage to see if wm has
+ * This function is to be used by a window manager to see if wm has
* canceled geometry control.
*
* Results: