summaryrefslogtreecommitdiffstats
path: root/generic/ttk
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2011-06-29 21:34:11 (GMT)
committerdgp <dgp@users.sourceforge.net>2011-06-29 21:34:11 (GMT)
commitdc20afb5c6334efe9a979d6ca4e683d35a5c11e1 (patch)
tree9a60767652409c11c2188e1f7bb9ad7f8a800fae /generic/ttk
parentb225730e7a1efb13222228523fbc76e666cb1c4b (diff)
downloadtk-dc20afb5c6334efe9a979d6ca4e683d35a5c11e1.zip
tk-dc20afb5c6334efe9a979d6ca4e683d35a5c11e1.tar.gz
tk-dc20afb5c6334efe9a979d6ca4e683d35a5c11e1.tar.bz2
3341056 Correct segfault due to flaw in the 2011-06-17 commit.
Diffstat (limited to 'generic/ttk')
-rw-r--r--generic/ttk/ttkTrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/ttk/ttkTrace.c b/generic/ttk/ttkTrace.c
index f171f3d..8bc8519 100644
--- a/generic/ttk/ttkTrace.c
+++ b/generic/ttk/ttkTrace.c
@@ -136,7 +136,7 @@ void Ttk_UntraceVariable(Ttk_TraceHandle *h)
* with removing is present.
*/
while ((cd = Tcl_VarTraceInfo(h->interp, Tcl_GetString(h->varnameObj),
- 0, VarTraceProc, cd)) != NULL) {
+ TCL_GLOBAL_ONLY, VarTraceProc, cd)) != NULL) {
if (cd == (ClientData) h) {
break;
}