summaryrefslogtreecommitdiffstats
path: root/win/tkWinWm.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-06-25 15:25:54 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-06-25 15:25:54 (GMT)
commit343bf6c92b634857d5ae6a025f3d9e88077f5283 (patch)
tree4c24ab099e847fd17824f5a9f00e82912eb9060d /win/tkWinWm.c
parent09f9905763b964c8ff50bc4fe54e52ecb137b194 (diff)
downloadtk-343bf6c92b634857d5ae6a025f3d9e88077f5283.zip
tk-343bf6c92b634857d5ae6a025f3d9e88077f5283.tar.gz
tk-343bf6c92b634857d5ae6a025f3d9e88077f5283.tar.bz2
Eliminate warning, when compiling with 9.0 Tcl headers on Windows
Diffstat (limited to 'win/tkWinWm.c')
-rw-r--r--win/tkWinWm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tkWinWm.c b/win/tkWinWm.c
index 69f5d7b..7fae383 100644
--- a/win/tkWinWm.c
+++ b/win/tkWinWm.c
@@ -4257,7 +4257,7 @@ WmIconnameCmd(
if (wmPtr->iconName != NULL) {
ckfree(wmPtr->iconName);
}
- argv3 = Tcl_GetStringFromObj(objv[3], &length);
+ argv3 = TkGetStringFromObj(objv[3], &length);
wmPtr->iconName = ckalloc(length + 1);
memcpy(wmPtr->iconName, argv3, length + 1);
if (!(wmPtr->flags & WM_NEVER_MAPPED)) {