diff options
author | ericm <ericm> | 2000-08-04 00:46:32 (GMT) |
---|---|---|
committer | ericm <ericm> | 2000-08-04 00:46:32 (GMT) |
commit | e362ccb25a38008c0f631717e1cc8c73b7987b84 (patch) | |
tree | fde6063717a4670883cc80b3f9ffd34b2c3d3cbb /generic/tkCmds.c | |
parent | df81a224e1174214893a5a153dbafccc832ad1c3 (diff) | |
download | tk-e362ccb25a38008c0f631717e1cc8c73b7987b84.zip tk-e362ccb25a38008c0f631717e1cc8c73b7987b84.tar.gz tk-e362ccb25a38008c0f631717e1cc8c73b7987b84.tar.bz2 |
* generic/tkWindow.c: Updated "grab" command entry to use
Tcl_Obj'ified command.
* generic/tkInt.h: Replaced Tk_GrabCmd prototype with
Tk_GrabObjCmd prototype.
* tests/grab.test: Initial suite of tests for [grab] command.
* generic/tkGrab.c (Tk_GrabObjCmd): Tcl_Obj'ified [grab] command.
* generic/tkCmds.c: Fixed casting problem in Tk_BindtagsObjCmd.
Diffstat (limited to 'generic/tkCmds.c')
-rw-r--r-- | generic/tkCmds.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkCmds.c b/generic/tkCmds.c index 726eea6..4d3f5ae 100644 --- a/generic/tkCmds.c +++ b/generic/tkCmds.c @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkCmds.c,v 1.17 2000/08/03 21:02:19 ericm Exp $ + * RCS: @(#) $Id: tkCmds.c,v 1.18 2000/08/04 00:46:32 ericm Exp $ */ #include "tkPort.h" @@ -349,7 +349,7 @@ Tk_BindtagsObjCmd(clientData, interp, objc, objv) } else { for (i = 0; i < winPtr->numTags; i++) { Tcl_ListObjAppendElement(interp, listPtr, - Tcl_NewStringObj(winPtr->tagPtr[i], -1)); + Tcl_NewStringObj((char *)winPtr->tagPtr[i], -1)); } } Tcl_SetObjResult(interp, listPtr); |