summaryrefslogtreecommitdiffstats
path: root/generic/ttk/ttkTrace.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2011-06-29 21:35:39 (GMT)
committerdgp <dgp@users.sourceforge.net>2011-06-29 21:35:39 (GMT)
commit597fa538d80c82d2abf3ca76cb39e58b1ff52d63 (patch)
treed44ae20eb6f3372d30c175b11bd0f97a94077f8c /generic/ttk/ttkTrace.c
parentcc904f20270793365571c62161fd5f1d79f610bd (diff)
parent4fe1846f2ab9eb6dd9c8fb30c91b1e2fa747a4cd (diff)
downloadtk-597fa538d80c82d2abf3ca76cb39e58b1ff52d63.zip
tk-597fa538d80c82d2abf3ca76cb39e58b1ff52d63.tar.gz
tk-597fa538d80c82d2abf3ca76cb39e58b1ff52d63.tar.bz2
3341056 Correct segfault due to flaw in the 2011-06-17 commit.
Diffstat (limited to 'generic/ttk/ttkTrace.c')
-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;
}