diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-04-18 18:08:37 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-04-18 18:08:37 (GMT) |
commit | 95c5b39b2e335c0fc08a25281ad9097a29aee1ae (patch) | |
tree | bab392895ed17f917311f2fb0119304a49a10671 /generic/tkButton.c | |
parent | 15bcec02d97d8789fa796cabdc76859618f22387 (diff) | |
download | tk-95c5b39b2e335c0fc08a25281ad9097a29aee1ae.zip tk-95c5b39b2e335c0fc08a25281ad9097a29aee1ae.tar.gz tk-95c5b39b2e335c0fc08a25281ad9097a29aee1ae.tar.bz2 |
make some more internal tables CONST
Diffstat (limited to 'generic/tkButton.c')
-rw-r--r-- | generic/tkButton.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tkButton.c b/generic/tkButton.c index 3783985..e844cec 100644 --- a/generic/tkButton.c +++ b/generic/tkButton.c @@ -25,14 +25,14 @@ static Tcl_ThreadDataKey dataKey; * in tkButton.h. */ -static char *classNames[] = {"Label", "Button", "Checkbutton", "Radiobutton"}; +static CONST char *classNames[] = {"Label", "Button", "Checkbutton", "Radiobutton"}; /* * The following table defines the legal values for the -default option. * It is used together with the "enum defaultValue" declaration in tkButton.h. */ -static char *defaultStrings[] = { +static CONST char *defaultStrings[] = { "active", "disabled", "normal", (char *) NULL }; @@ -41,7 +41,7 @@ static char *defaultStrings[] = { * It is used together with the "enum state" declaration in tkButton.h. */ -static char *stateStrings[] = { +static CONST char *stateStrings[] = { "active", "disabled", "normal", (char *) NULL }; @@ -50,7 +50,7 @@ static char *stateStrings[] = { * It is used with the "enum compound" declaration in tkButton.h */ -static char *compoundStrings[] = { +static CONST char *compoundStrings[] = { "bottom", "center", "left", "none", "right", "top", (char *) NULL }; |