summaryrefslogtreecommitdiffstats
path: root/generic/tkWindow.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-26 00:24:07 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-26 00:24:07 (GMT)
commit13e6c44129865089d8680474141354555450ae04 (patch)
treecd1af88f02192ab59b05cebb82e886341624241e /generic/tkWindow.c
parent8e4cfc592771290d75f559ef2dea0836cc26e7fe (diff)
downloadtk-13e6c44129865089d8680474141354555450ae04.zip
tk-13e6c44129865089d8680474141354555450ae04.tar.gz
tk-13e6c44129865089d8680474141354555450ae04.tar.bz2
Use some more (void *)'s in FreeProc's, a step in the direction getting Tk to work with "novem"
Diffstat (limited to 'generic/tkWindow.c')
-rw-r--r--generic/tkWindow.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkWindow.c b/generic/tkWindow.c
index 6b908dc..10ae820 100644
--- a/generic/tkWindow.c
+++ b/generic/tkWindow.c
@@ -3135,7 +3135,7 @@ Initialize(
Tcl_DStringInit(&ds);
Tcl_DStringAppendElement(&ds, "::safe::TkInit");
- Tcl_DStringAppendElement(&ds, Tcl_GetStringResult(master));
+ Tcl_DStringAppendElement(&ds, Tcl_GetString(Tcl_GetObjResult(master)));
/*
* Step 2 : Eval in the master. The argument is the *reversed* interp
@@ -3163,7 +3163,7 @@ Initialize(
* changing the code below.
*/
- argString = Tcl_GetStringResult(master);
+ argString = Tcl_GetString(Tcl_GetObjResult(master));
} else {
/*
* If there is an "argv" variable, get its value, extract out relevant