diff options
author | ericm <ericm@noemail.net> | 2000-03-29 00:09:04 (GMT) |
---|---|---|
committer | ericm <ericm@noemail.net> | 2000-03-29 00:09:04 (GMT) |
commit | bc4fedffa5702a8eea946bbd901fb72904622ab4 (patch) | |
tree | 6c3d1ba08edc50ecc28706589d03d3d2708fbe90 /generic | |
parent | 81e52ea69d23668335c953af28f131214f63a263 (diff) | |
download | tk-bc4fedffa5702a8eea946bbd901fb72904622ab4.zip tk-bc4fedffa5702a8eea946bbd901fb72904622ab4.tar.gz tk-bc4fedffa5702a8eea946bbd901fb72904622ab4.tar.bz2 |
* library/tkfbox.tcl: Moved an overlooked tkFDialog* function inscriptics-sc-2-0-fixedscriptics-sc-2-0-b5
::tk::dialog::file namespace.
* tests/unixWm.test: Added tests for memory leak conditions in
tkUnixWm.c.
* tests/canvas.test: Added test for bad configuration options on
empty and non-empty canvas.
* generic/tkCanvas.c: Removed bad code in CANV_CONFIGURE block of
CanvasWidgetCmd; this was causing non-empty canvases to improperly
handle bad configuration options [Bug: 4456].
FossilOrigin-Name: ac1293f78350b7396906cb7d2b1158459b7b8ebb
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tkCanvas.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/generic/tkCanvas.c b/generic/tkCanvas.c index 268b182..176e44a 100644 --- a/generic/tkCanvas.c +++ b/generic/tkCanvas.c @@ -12,7 +12,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkCanvas.c,v 1.11 2000/01/12 11:45:02 hobbs Exp $ + * RCS: @(#) $Id: tkCanvas.c,v 1.12 2000/03/29 00:09:06 ericm Exp $ */ /* #define USE_OLD_TAG_SEARCH 1 */ @@ -876,18 +876,6 @@ CanvasWidgetCmd(clientData, interp, argc, argv) } else { result = ConfigureCanvas(interp, canvasPtr, argc-2, argv+2, TK_CONFIG_ARGV_ONLY); - for (itemPtr = canvasPtr->firstItemPtr; - itemPtr != NULL; itemPtr = itemPtr->nextPtr) { - if (itemPtr->state != TK_STATE_NULL) { - continue; - } - EventuallyRedrawItem((Tk_Canvas) canvasPtr, itemPtr); - result = (*itemPtr->typePtr->configProc)(interp, - (Tk_Canvas) canvasPtr, itemPtr, 0, (Tcl_Obj **) NULL, - TK_CONFIG_ARGV_ONLY); - EventuallyRedrawItem((Tk_Canvas) canvasPtr, itemPtr); - canvasPtr->flags |= REPICK_NEEDED; - } } break; } |