diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-06-19 09:55:18 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-06-19 09:55:18 (GMT) |
commit | 23abd217c7df90a80ee411cfe2090d75942cf750 (patch) | |
tree | 047c7883c2e3add51b74078a8e69f0012cc4645c /generic/tkMenubutton.c | |
parent | 6a2cb75b188aad9e6ecf9906ab5d1491647fbd09 (diff) | |
download | tk-23abd217c7df90a80ee411cfe2090d75942cf750.zip tk-23abd217c7df90a80ee411cfe2090d75942cf750.tar.gz tk-23abd217c7df90a80ee411cfe2090d75942cf750.tar.bz2 |
SetOptions.3: minor doc fix
make various other tables CONST
(All backported from Tk 8.6)
Diffstat (limited to 'generic/tkMenubutton.c')
-rw-r--r-- | generic/tkMenubutton.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tkMenubutton.c b/generic/tkMenubutton.c index 7e9a11a..0e85308 100644 --- a/generic/tkMenubutton.c +++ b/generic/tkMenubutton.c @@ -21,7 +21,7 @@ * in tkMenubutton.h. */ -static CONST char *directionStrings[] = { +static CONST char *CONST directionStrings[] = { "above", "below", "flush", "left", "right", (char *) NULL }; @@ -30,7 +30,7 @@ static CONST char *directionStrings[] = { * It is used together with the "enum state" declaration in tkMenubutton.h. */ -static CONST char *stateStrings[] = { +static CONST char *CONST stateStrings[] = { "active", "disabled", "normal", (char *) NULL }; @@ -39,7 +39,7 @@ static CONST char *stateStrings[] = { * It is used with the "enum compound" declaration in tkMenuButton.h */ -static CONST char *compoundStrings[] = { +static CONST char *CONST compoundStrings[] = { "bottom", "center", "left", "none", "right", "top", (char *) NULL }; @@ -47,7 +47,7 @@ static CONST char *compoundStrings[] = { * Information used for parsing configuration specs: */ -static Tk_OptionSpec optionSpecs[] = { +static CONST Tk_OptionSpec optionSpecs[] = { {TK_OPTION_BORDER, "-activebackground", "activeBackground", "Foreground", DEF_MENUBUTTON_ACTIVE_BG_COLOR, -1, Tk_Offset(TkMenuButton, activeBorder), 0, |