diff options
-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); |