summaryrefslogtreecommitdiffstats
path: root/generic/tkCmds.c
diff options
context:
space:
mode:
authorericm <ericm>2000-08-04 00:46:32 (GMT)
committerericm <ericm>2000-08-04 00:46:32 (GMT)
commite362ccb25a38008c0f631717e1cc8c73b7987b84 (patch)
treefde6063717a4670883cc80b3f9ffd34b2c3d3cbb /generic/tkCmds.c
parentdf81a224e1174214893a5a153dbafccc832ad1c3 (diff)
downloadtk-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.c4
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);