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/tkMessage.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/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); } |