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/tkWindow.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/tkWindow.c')
-rw-r--r-- | generic/tkWindow.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkWindow.c b/generic/tkWindow.c index f03f946..8b41f05 100644 --- a/generic/tkWindow.c +++ b/generic/tkWindow.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: tkWindow.c,v 1.22 2000/08/03 21:02:20 ericm Exp $ + * RCS: @(#) $Id: tkWindow.c,v 1.23 2000/08/04 00:46:33 ericm Exp $ */ #include "tkPort.h" @@ -105,7 +105,7 @@ static TkCmd commands[] = { {"event", NULL, Tk_EventObjCmd, 1, 1}, {"focus", NULL, Tk_FocusObjCmd, 1, 1}, {"font", NULL, Tk_FontObjCmd, 1, 1}, - {"grab", Tk_GrabCmd, NULL, 0, 1}, + {"grab", NULL, Tk_GrabObjCmd, 0, 1}, {"grid", Tk_GridCmd, NULL, 1, 1}, {"image", NULL, Tk_ImageObjCmd, 1, 1}, {"lower", NULL, Tk_LowerObjCmd, 1, 1}, |