summaryrefslogtreecommitdiffstats
path: root/generic/tkWindow.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tkWindow.c')
-rw-r--r--generic/tkWindow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkWindow.c b/generic/tkWindow.c
index 2c69215..5d5ea20 100644
--- a/generic/tkWindow.c
+++ b/generic/tkWindow.c
@@ -3201,7 +3201,7 @@ Initialize(
{
TkSizeT numBytes;
- const char *bytes = TkGetStringFromObj(nameObj, &numBytes);
+ const char *bytes = Tcl_GetStringFromObj(nameObj, &numBytes);
classObj = Tcl_NewStringObj(bytes, numBytes);