summaryrefslogtreecommitdiffstats
path: root/generic/tkMessage.c
diff options
context:
space:
mode:
authornijtmans@users.sourceforge.net <jan.nijtmans>2013-02-22 08:44:24 (GMT)
committernijtmans@users.sourceforge.net <jan.nijtmans>2013-02-22 08:44:24 (GMT)
commit46251503295b073d62e607295eea642e7e3bc444 (patch)
treee3dc2cfda6b3b802979347c59b408b18a068b995 /generic/tkMessage.c
parentc83ab2ea48a8f2f56fc80c1e48a1931824af879e (diff)
downloadtk-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.c4
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);
}