summaryrefslogtreecommitdiffstats
path: root/generic/tkMenubutton.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-18 18:08:37 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-18 18:08:37 (GMT)
commitf07ad57bdde610d46378e20547d39d969072d463 (patch)
treebab392895ed17f917311f2fb0119304a49a10671 /generic/tkMenubutton.c
parentb178c0b69d6bec22d37a08ead49515c879355e8d (diff)
downloadtk-f07ad57bdde610d46378e20547d39d969072d463.zip
tk-f07ad57bdde610d46378e20547d39d969072d463.tar.gz
tk-f07ad57bdde610d46378e20547d39d969072d463.tar.bz2
make some more internal tables CONST
Diffstat (limited to 'generic/tkMenubutton.c')
-rw-r--r--generic/tkMenubutton.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkMenubutton.c b/generic/tkMenubutton.c
index 8292b32..7e9a11a 100644
--- a/generic/tkMenubutton.c
+++ b/generic/tkMenubutton.c
@@ -21,7 +21,7 @@
* in tkMenubutton.h.
*/
-static char *directionStrings[] = {
+static CONST char *directionStrings[] = {
"above", "below", "flush", "left", "right", (char *) NULL
};
@@ -30,7 +30,7 @@ static char *directionStrings[] = {
* It is used together with the "enum state" declaration in tkMenubutton.h.
*/
-static char *stateStrings[] = {
+static CONST char *stateStrings[] = {
"active", "disabled", "normal", (char *) NULL
};
@@ -39,7 +39,7 @@ static char *stateStrings[] = {
* It is used with the "enum compound" declaration in tkMenuButton.h
*/
-static char *compoundStrings[] = {
+static CONST char *compoundStrings[] = {
"bottom", "center", "left", "none", "right", "top", (char *) NULL
};