summaryrefslogtreecommitdiffstats
path: root/generic
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)
commit4fe1846f2ab9eb6dd9c8fb30c91b1e2fa747a4cd (patch)
tree9a60767652409c11c2188e1f7bb9ad7f8a800fae /generic
parente37e625b577e94286bbff5fdbfb3b2d29edd6cf9 (diff)
downloadtk-4fe1846f2ab9eb6dd9c8fb30c91b1e2fa747a4cd.zip
tk-4fe1846f2ab9eb6dd9c8fb30c91b1e2fa747a4cd.tar.gz
tk-4fe1846f2ab9eb6dd9c8fb30c91b1e2fa747a4cd.tar.bz2
3341056 Correct segfault due to flaw in the 2011-06-17 commit.
Diffstat (limited to 'generic')
-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;
}