diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-02-22 08:44:24 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-02-22 08:44:24 (GMT) |
commit | f584bb01ccf547af727096674302e8a6dbae1252 (patch) | |
tree | e3dc2cfda6b3b802979347c59b408b18a068b995 /generic/tkCmds.c | |
parent | 2103923eee4d74b8f49cfdb91a73c3ef32baab5f (diff) | |
download | tk-f584bb01ccf547af727096674302e8a6dbae1252.zip tk-f584bb01ccf547af727096674302e8a6dbae1252.tar.gz tk-f584bb01ccf547af727096674302e8a6dbae1252.tar.bz2 |
Replace all Tcl_TraceVar/Tcl_UntraceVar with Tcl_TraceVar2/Tcl_UntraceVar2 calls: The former are just thin wrappers around the latter.
Diffstat (limited to 'generic/tkCmds.c')
-rw-r--r-- | generic/tkCmds.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkCmds.c b/generic/tkCmds.c index 9f0097e..4933d34 100644 --- a/generic/tkCmds.c +++ b/generic/tkCmds.c @@ -1031,8 +1031,8 @@ Tk_TkwaitObjCmd( } Tcl_DoOneEvent(0); } - Tcl_UntraceVar(interp, Tcl_GetString(objv[2]), - TCL_GLOBAL_ONLY|TCL_TRACE_WRITES|TCL_TRACE_UNSETS, + Tcl_UntraceVar2(interp, Tcl_GetString(objv[2]), + NULL, TCL_GLOBAL_ONLY|TCL_TRACE_WRITES|TCL_TRACE_UNSETS, WaitVariableProc, &done); break; |