diff options
author | dgp <dgp@users.sourceforge.net> | 2002-01-17 05:13:11 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2002-01-17 05:13:11 (GMT) |
commit | e18b826ed756e177fc0e6f96fed210bf26bcb8b7 (patch) | |
tree | a64645a35b960e288a19b038e87f81a9248f5709 /generic/tkButton.c | |
parent | e2d6df79c697064b173e14f29a157733ad3a9a6f (diff) | |
download | tk-e18b826ed756e177fc0e6f96fed210bf26bcb8b7.zip tk-e18b826ed756e177fc0e6f96fed210bf26bcb8b7.tar.gz tk-e18b826ed756e177fc0e6f96fed210bf26bcb8b7.tar.bz2 |
* Updates to handle change in type of tablePtr
argument of Tcl_GetIndexFromObj(Struct) from (char **) to
(CONST char **). [TIP 27] [Patch 504705]
Diffstat (limited to 'generic/tkButton.c')
-rw-r--r-- | generic/tkButton.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkButton.c b/generic/tkButton.c index dca60a4..33a0f42 100644 --- a/generic/tkButton.c +++ b/generic/tkButton.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: tkButton.c,v 1.14 2001/12/28 01:23:47 hobbs Exp $ + * RCS: @(#) $Id: tkButton.c,v 1.15 2002/01/17 05:13:11 dgp Exp $ */ #include "tkButton.h" @@ -481,7 +481,7 @@ static Tk_OptionSpec *optionSpecs[] = { * into a single enumerated type used to dispatch the widget command. */ -static char *commandNames[][8] = { +static CONST char *commandNames[][8] = { {"cget", "configure", (char *) NULL}, {"cget", "configure", "flash", "invoke", (char *) NULL}, {"cget", "configure", "deselect", "flash", "invoke", "select", |