summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixWm.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-07-14 11:02:35 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-07-14 11:02:35 (GMT)
commit3f9e5a8e1a6a5b3a0917e82bed0dc34acf93cf67 (patch)
tree9a6ebf77a206d37df3f624b70ffd9ece31e7ddc4 /unix/tkUnixWm.c
parent92751c3e0866b78b2a36457363948cee95a92ce5 (diff)
downloadtk-3f9e5a8e1a6a5b3a0917e82bed0dc34acf93cf67.zip
tk-3f9e5a8e1a6a5b3a0917e82bed0dc34acf93cf67.tar.gz
tk-3f9e5a8e1a6a5b3a0917e82bed0dc34acf93cf67.tar.bz2
New TIP #580 implementation. Documentation still missing.
Diffstat (limited to 'unix/tkUnixWm.c')
-rw-r--r--unix/tkUnixWm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tkUnixWm.c b/unix/tkUnixWm.c
index 155a988..4dacad9 100644
--- a/unix/tkUnixWm.c
+++ b/unix/tkUnixWm.c
@@ -2617,7 +2617,7 @@ WmIconwindowCmd(
}
if (objc == 3) {
if (wmPtr->icon != NULL) {
- Tcl_SetObjResult(interp, TkNewWindowObj(wmPtr->icon));
+ Tcl_SetObjResult(interp, Tk_NewWindowObj(wmPtr->icon));
}
return TCL_OK;
}
@@ -3565,7 +3565,7 @@ WmTransientCmd(
}
if (objc == 3) {
if (masterPtr != NULL) {
- Tcl_SetObjResult(interp, TkNewWindowObj((Tk_Window) masterPtr));
+ Tcl_SetObjResult(interp, Tk_NewWindowObj((Tk_Window) masterPtr));
}
return TCL_OK;
}