diff options
author | nijtmans@users.sourceforge.net <jan.nijtmans> | 2013-02-22 08:44:24 (GMT) |
---|---|---|
committer | nijtmans@users.sourceforge.net <jan.nijtmans> | 2013-02-22 08:44:24 (GMT) |
commit | 46251503295b073d62e607295eea642e7e3bc444 (patch) | |
tree | e3dc2cfda6b3b802979347c59b408b18a068b995 /generic/tkMessage.c | |
parent | c83ab2ea48a8f2f56fc80c1e48a1931824af879e (diff) | |
download | tk-46251503295b073d62e607295eea642e7e3bc444.zip tk-46251503295b073d62e607295eea642e7e3bc444.tar.gz tk-46251503295b073d62e607295eea642e7e3bc444.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/tkMessage.c')
-rw-r--r-- | generic/tkMessage.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkMessage.c b/generic/tkMessage.c index 3e4bdce..2b71998 100644 --- a/generic/tkMessage.c +++ b/generic/tkMessage.c @@ -405,7 +405,7 @@ DestroyMessage( Tk_FreeTextLayout(msgPtr->textLayout); } if (msgPtr->textVarName != NULL) { - Tcl_UntraceVar(msgPtr->interp, msgPtr->textVarName, + Tcl_UntraceVar2(msgPtr->interp, msgPtr->textVarName, NULL, TCL_GLOBAL_ONLY|TCL_TRACE_WRITES|TCL_TRACE_UNSETS, MessageTextVarProc, msgPtr); } @@ -450,7 +450,7 @@ ConfigureMessage( */ if (msgPtr->textVarName != NULL) { - Tcl_UntraceVar(interp, msgPtr->textVarName, + Tcl_UntraceVar2(interp, msgPtr->textVarName, NULL, TCL_GLOBAL_ONLY|TCL_TRACE_WRITES|TCL_TRACE_UNSETS, MessageTextVarProc, msgPtr); } |