diff options
author | dgp <dgp@noemail.net> | 2002-01-17 05:13:10 (GMT) |
---|---|---|
committer | dgp <dgp@noemail.net> | 2002-01-17 05:13:10 (GMT) |
commit | 6f9960a0107a6b5ab8758a61b46d59aaac91d08f (patch) | |
tree | a64645a35b960e288a19b038e87f81a9248f5709 /generic/tkGrab.c | |
parent | 461e603bd2608a84aaf052d9156a864416113681 (diff) | |
download | tk-6f9960a0107a6b5ab8758a61b46d59aaac91d08f.zip tk-6f9960a0107a6b5ab8758a61b46d59aaac91d08f.tar.gz tk-6f9960a0107a6b5ab8758a61b46d59aaac91d08f.tar.bz2 |
* Updates to handle change in type of tablePtr
argument of Tcl_GetIndexFromObj(Struct) from (char **) to
(CONST char **). [TIP 27] [Patch 504705]
FossilOrigin-Name: 85e5c7aa1baa3bd2b7bdb971f3cf83f4f5573723
Diffstat (limited to 'generic/tkGrab.c')
-rw-r--r-- | generic/tkGrab.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkGrab.c b/generic/tkGrab.c index e5b7fcf..8c16927 100644 --- a/generic/tkGrab.c +++ b/generic/tkGrab.c @@ -9,7 +9,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkGrab.c,v 1.6 2000/09/06 19:02:16 hobbs Exp $ + * RCS: @(#) $Id: tkGrab.c,v 1.7 2002/01/17 05:13:11 dgp Exp $ */ #include "tkPort.h" @@ -202,10 +202,10 @@ Tk_GrabObjCmd(clientData, interp, objc, objv) char *arg; int index; int len; - static char *optionStrings[] = { "current", "release", + static CONST char *optionStrings[] = { "current", "release", "set", "status", (char *) NULL }; - static char *flagStrings[] = { "-global", (char *) NULL }; + static CONST char *flagStrings[] = { "-global", (char *) NULL }; enum options { GRABCMD_CURRENT, GRABCMD_RELEASE, GRABCMD_SET, GRABCMD_STATUS }; |