summaryrefslogtreecommitdiffstats
path: root/generic/ttk
diff options
context:
space:
mode:
authordgp@users.sourceforge.net <dgp>2011-06-29 21:35:39 (GMT)
committerdgp@users.sourceforge.net <dgp>2011-06-29 21:35:39 (GMT)
commit24ecf8fb133a0888393dd8b3f3907ef9c11f4b3f (patch)
treed44ae20eb6f3372d30c175b11bd0f97a94077f8c /generic/ttk
parentf904799240ca8b95fb5ab866b6019b76f3935861 (diff)
parent3f0a3480d44af1f24b1bd12796f28078a2d927c6 (diff)
downloadtk-24ecf8fb133a0888393dd8b3f3907ef9c11f4b3f.zip
tk-24ecf8fb133a0888393dd8b3f3907ef9c11f4b3f.tar.gz
tk-24ecf8fb133a0888393dd8b3f3907ef9c11f4b3f.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 fe4745f..e6234b8 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;
}