diff options
author | das <das> | 2009-04-10 16:00:12 (GMT) |
---|---|---|
committer | das <das> | 2009-04-10 16:00:12 (GMT) |
commit | 7e8f3721cfd6fd8c1dff4e489d5549ee1421cf29 (patch) | |
tree | c2a02868efb0873432ea6bdcf3be9dc93515c5df | |
parent | 3e348841279c666655027f81674d30e841d75322 (diff) | |
download | tk-7e8f3721cfd6fd8c1dff4e489d5549ee1421cf29.zip tk-7e8f3721cfd6fd8c1dff4e489d5549ee1421cf29.tar.gz tk-7e8f3721cfd6fd8c1dff4e489d5549ee1421cf29.tar.bz2 |
* generic/tkUtil.c (TkBackgroundEvalObjv): use Tcl_BackgroundException.
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | generic/tkUtil.c | 4 |
2 files changed, 4 insertions, 2 deletions
@@ -1,5 +1,7 @@ 2008-04-10 Daniel Steffen <das@users.sourceforge.net> + * generic/tkUtil.c (TkBackgroundEvalObjv): use Tcl_BackgroundException. + * generic/tkBind.c (HandleEventGenerate): ensure window exists before generating an event for it (fixes testsuite crash). diff --git a/generic/tkUtil.c b/generic/tkUtil.c index 3c3b5f8..ffa392f 100644 --- a/generic/tkUtil.c +++ b/generic/tkUtil.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkUtil.c,v 1.28 2009/02/06 08:12:07 das Exp $ + * RCS: @(#) $Id: tkUtil.c,v 1.29 2009/04/10 16:00:12 das Exp $ */ #include "tkInt.h" @@ -1035,7 +1035,7 @@ TkBackgroundEvalObjv( } if (r == TCL_ERROR) { Tcl_AddErrorInfo(interp, "\n (background event handler)"); - Tcl_BackgroundError(interp); + Tcl_BackgroundException(interp, r); } Tcl_Release(interp); |