summaryrefslogtreecommitdiffstats
path: root/generic/tclEvent.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tclEvent.c')
-rw-r--r--generic/tclEvent.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/generic/tclEvent.c b/generic/tclEvent.c
index 02d14b4..79985ed 100644
--- a/generic/tclEvent.c
+++ b/generic/tclEvent.c
@@ -1467,8 +1467,7 @@ VwaitVarProc(
int *donePtr = clientData;
*donePtr = 1;
- Tcl_UntraceVar2(interp, name1, name2,
- TCL_GLOBAL_ONLY|TCL_TRACE_WRITES|TCL_TRACE_UNSETS,
+ Tcl_UntraceVar(interp, name1, TCL_TRACE_WRITES|TCL_TRACE_UNSETS,
VwaitVarProc, clientData);
return NULL;
}