diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-06-25 15:25:54 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-06-25 15:25:54 (GMT) |
commit | 343bf6c92b634857d5ae6a025f3d9e88077f5283 (patch) | |
tree | 4c24ab099e847fd17824f5a9f00e82912eb9060d /win/tkWinWm.c | |
parent | 09f9905763b964c8ff50bc4fe54e52ecb137b194 (diff) | |
download | tk-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.c | 2 |
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)) { |