diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-01-14 13:48:03 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-01-14 13:48:03 (GMT) |
commit | 50bba11de943e80fd387c0f5a04a67b1d4b17f39 (patch) | |
tree | 94a7466233e7a73007acc61a138d2a1b04aafeca /generic/ttk/ttkCache.c | |
parent | 0685eee98b78605d4ff2e0dfc76c165c9ae589a4 (diff) | |
download | tk-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/ttk/ttkCache.c')
-rw-r--r-- | generic/ttk/ttkCache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/ttk/ttkCache.c b/generic/ttk/ttkCache.c index 39c76e0..0ae2372 100644 --- a/generic/ttk/ttkCache.c +++ b/generic/ttk/ttkCache.c @@ -270,7 +270,7 @@ static Tcl_Obj *Ttk_Use( } else { Tcl_DecrRefCount(cacheObj); Tcl_SetHashValue(entryPtr, NULL); - Tcl_BackgroundError(interp); + Tcl_BackgroundException(interp, TCL_ERROR); return NULL; } } @@ -341,7 +341,7 @@ Tk_Image Ttk_UseImage(Ttk_ResourceCache cache, Tk_Window tkwin, Tcl_Obj *objPtr) Tcl_SetHashValue(entryPtr, image); if (!image) { - Tcl_BackgroundError(cache->interp); + Tcl_BackgroundException(cache->interp, TCL_ERROR); } return image; |