diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-12-11 08:49:10 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-12-11 08:49:10 (GMT) |
commit | 93c2250b76cfde6cbc1f1401ce8ddbd3a2897399 (patch) | |
tree | 7eaf719658cc851ca8f0e2903fd64fad1d4f6948 /generic/tkCmds.c | |
parent | 0cbbe5eeb5a312da166ebe21b7800fb47353621b (diff) | |
download | tk-93c2250b76cfde6cbc1f1401ce8ddbd3a2897399.zip tk-93c2250b76cfde6cbc1f1401ce8ddbd3a2897399.tar.gz tk-93c2250b76cfde6cbc1f1401ce8ddbd3a2897399.tar.bz2 |
After TIP #481 reaches Tcl9.0, TkGetStringFromObj() becomes obsolete. This commit shows how.
Diffstat (limited to 'generic/tkCmds.c')
-rw-r--r-- | generic/tkCmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkCmds.c b/generic/tkCmds.c index 2b02f93..e57f21e 100644 --- a/generic/tkCmds.c +++ b/generic/tkCmds.c @@ -1862,7 +1862,7 @@ TkGetDisplayOf( if (objc < 1) { return 0; } - string = TkGetStringFromObj(objv[0], &length); + string = Tcl_GetStringFromObj(objv[0], &length); if ((length >= 2) && (strncmp(string, "-displayof", length) == 0)) { if (objc < 2) { |