summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXEmbed.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-02 09:00:26 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-02 09:00:26 (GMT)
commit861f2926fd2d6d1f1726e0ec37c1bd4e55c7a395 (patch)
tree6d79c78942107a245a3bb29de537bc57dc78fc69 /macosx/tkMacOSXEmbed.c
parent63e7c156ff551d2baffbc1a9e50a093a791c1387 (diff)
parent8952ee7ee1dc5bbc401ee01f356e3b8ff4a170a3 (diff)
downloadtk-861f2926fd2d6d1f1726e0ec37c1bd4e55c7a395.zip
tk-861f2926fd2d6d1f1726e0ec37c1bd4e55c7a395.tar.gz
tk-861f2926fd2d6d1f1726e0ec37c1bd4e55c7a395.tar.bz2
Merge 8.6
Diffstat (limited to 'macosx/tkMacOSXEmbed.c')
-rw-r--r--macosx/tkMacOSXEmbed.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/macosx/tkMacOSXEmbed.c b/macosx/tkMacOSXEmbed.c
index 8c13157..2474b5d 100644
--- a/macosx/tkMacOSXEmbed.c
+++ b/macosx/tkMacOSXEmbed.c
@@ -818,7 +818,7 @@ ContainerEventProc(
* Here we are following unix, by destroying the container.
*/
- Tk_DestroyWindow((Tk_Window) winPtr);
+ Tk_DestroyWindow((Tk_Window)winPtr);
}
Tk_DeleteErrorHandler(errHandler);
}
@@ -867,8 +867,8 @@ EmbedStructureProc(
errHandler = Tk_CreateErrorHandler(eventPtr->xfocus.display, -1,
-1, -1, NULL, NULL);
- Tk_MoveResizeWindow((Tk_Window) containerPtr->embeddedPtr, 0, 0,
- (unsigned) Tk_Width((Tk_Window) containerPtr->parentPtr),
+ Tk_MoveResizeWindow((Tk_Window)containerPtr->embeddedPtr, 0, 0,
+ (unsigned) Tk_Width((Tk_Window)containerPtr->parentPtr),
(unsigned) Tk_Height((Tk_Window)containerPtr->parentPtr));
Tk_DeleteErrorHandler(errHandler);
}
@@ -1013,7 +1013,7 @@ EmbedGeometryRequest(
* if the window's size didn't change then generate a configure event.
*/
- Tk_GeometryRequest((Tk_Window) winPtr, width, height);
+ Tk_GeometryRequest((Tk_Window)winPtr, width, height);
while (Tcl_DoOneEvent(TCL_IDLE_EVENTS|TCL_TIMER_EVENTS|TCL_DONT_WAIT)) {}
if ((winPtr->changes.width != width)
|| (winPtr->changes.height != height)) {