summaryrefslogtreecommitdiffstats
path: root/generic/tkImgBmap.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-14 13:48:03 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-14 13:48:03 (GMT)
commit50bba11de943e80fd387c0f5a04a67b1d4b17f39 (patch)
tree94a7466233e7a73007acc61a138d2a1b04aafeca /generic/tkImgBmap.c
parent0685eee98b78605d4ff2e0dfc76c165c9ae589a4 (diff)
downloadtk-50bba11de943e80fd387c0f5a04a67b1d4b17f39.zip
tk-50bba11de943e80fd387c0f5a04a67b1d4b17f39.tar.gz
tk-50bba11de943e80fd387c0f5a04a67b1d4b17f39.tar.bz2
Replace various functions calls, for functions which are small wrappers around other functions, to call the wrapped function directly.
Diffstat (limited to 'generic/tkImgBmap.c')
-rw-r--r--generic/tkImgBmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkImgBmap.c b/generic/tkImgBmap.c
index cdd57dd..bbc471e 100644
--- a/generic/tkImgBmap.c
+++ b/generic/tkImgBmap.c
@@ -330,7 +330,7 @@ ImgBmapConfigureMaster(
* None.
*
* Side effects:
- * Generates errors via Tcl_BackgroundError if there are problems in
+ * Generates errors via Tcl_BackgroundException if there are problems in
* setting up the instance.
*
*----------------------------------------------------------------------
@@ -448,7 +448,7 @@ ImgBmapConfigureInstance(
Tcl_AppendObjToErrorInfo(masterPtr->interp, Tcl_ObjPrintf(
"\n (while configuring image \"%s\")", Tk_NameOfImage(
masterPtr->tkMaster)));
- Tcl_BackgroundError(masterPtr->interp);
+ Tcl_BackgroundException(masterPtr->interp, TCL_ERROR);
}
/*