summaryrefslogtreecommitdiffstats
path: root/generic/ttk
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-02-22 08:44:24 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-02-22 08:44:24 (GMT)
commitf584bb01ccf547af727096674302e8a6dbae1252 (patch)
treee3dc2cfda6b3b802979347c59b408b18a068b995 /generic/ttk
parent2103923eee4d74b8f49cfdb91a73c3ef32baab5f (diff)
downloadtk-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/ttk')
-rw-r--r--generic/ttk/ttkTrace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/ttk/ttkTrace.c b/generic/ttk/ttkTrace.c
index 6cd6061..ba66db4 100644
--- a/generic/ttk/ttkTrace.c
+++ b/generic/ttk/ttkTrace.c
@@ -150,8 +150,8 @@ void Ttk_UntraceVariable(Ttk_TraceHandle *h)
h->interp = NULL;
return;
}
- Tcl_UntraceVar(h->interp, Tcl_GetString(h->varnameObj),
- TCL_GLOBAL_ONLY|TCL_TRACE_WRITES|TCL_TRACE_UNSETS,
+ Tcl_UntraceVar2(h->interp, Tcl_GetString(h->varnameObj),
+ NULL, TCL_GLOBAL_ONLY|TCL_TRACE_WRITES|TCL_TRACE_UNSETS,
VarTraceProc, (ClientData)h);
Tcl_DecrRefCount(h->varnameObj);
ckfree(h);