diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-02-15 20:05:17 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-02-15 20:05:17 (GMT) |
commit | ea84e24e8ca7b01f930961973340e0253b5eec49 (patch) | |
tree | 5dbeb79f48f12cea04136435b54a268b305ebd59 /generic/tkTextDisp.c | |
parent | fe4c29e399f102f3c3eb46ef5c185cab3cbed7e9 (diff) | |
download | tk-ea84e24e8ca7b01f930961973340e0253b5eec49.zip tk-ea84e24e8ca7b01f930961973340e0253b5eec49.tar.gz tk-ea84e24e8ca7b01f930961973340e0253b5eec49.tar.bz2 |
Tcl_BackgroundError -> Tcl_BackgroundException. Mark deprecated macro's as such (remove then with -DTCL_NO_DEPRECATED). Change field in Tk_ClassProcs to size_t, when compiling against Tcl 9 headers
Diffstat (limited to 'generic/tkTextDisp.c')
-rw-r--r-- | generic/tkTextDisp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkTextDisp.c b/generic/tkTextDisp.c index bc65d3a..66ff744 100644 --- a/generic/tkTextDisp.c +++ b/generic/tkTextDisp.c @@ -3077,7 +3077,7 @@ AsyncUpdateLineMetrics( TCL_EVAL_GLOBAL); if (code == TCL_ERROR) { Tcl_AddErrorInfo(textPtr->interp, "\n (text sync)"); - Tcl_BackgroundError(textPtr->interp); + Tcl_BackgroundException(textPtr->interp, TCL_ERROR); } Tcl_Release((ClientData) textPtr->interp); Tcl_DecrRefCount(textPtr->afterSyncCmd); |