summaryrefslogtreecommitdiffstats
path: root/generic/tkScale.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-06-19 09:55:18 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-06-19 09:55:18 (GMT)
commite8469505b13e2af380977e581f42402073a2136f (patch)
tree047c7883c2e3add51b74078a8e69f0012cc4645c /generic/tkScale.c
parentc8f0062c64f9fc019a92e9bbc8918aa3e4ba1571 (diff)
downloadtk-e8469505b13e2af380977e581f42402073a2136f.zip
tk-e8469505b13e2af380977e581f42402073a2136f.tar.gz
tk-e8469505b13e2af380977e581f42402073a2136f.tar.bz2
SetOptions.3: minor doc fix
make various other tables CONST (All backported from Tk 8.6)
Diffstat (limited to 'generic/tkScale.c')
-rw-r--r--generic/tkScale.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkScale.c b/generic/tkScale.c
index 9b582fe..1c5c6f3 100644
--- a/generic/tkScale.c
+++ b/generic/tkScale.c
@@ -30,7 +30,7 @@
* It is used together with the "enum orient" declaration in tkScale.h.
*/
-static CONST char *orientStrings[] = {
+static CONST char *CONST orientStrings[] = {
"horizontal", "vertical", (char *) NULL
};
@@ -39,11 +39,11 @@ static CONST char *orientStrings[] = {
* It is used together with the "enum state" declaration in tkScale.h.
*/
-static CONST char *stateStrings[] = {
+static CONST char *CONST stateStrings[] = {
"active", "disabled", "normal", (char *) NULL
};
-static Tk_OptionSpec optionSpecs[] = {
+static CONST Tk_OptionSpec optionSpecs[] = {
{TK_OPTION_BORDER, "-activebackground", "activeBackground", "Foreground",
DEF_SCALE_ACTIVE_BG_COLOR, -1, Tk_Offset(TkScale, activeBorder),
0, (ClientData) DEF_SCALE_ACTIVE_BG_MONO, 0},