diff options
author | nijtmans <nijtmans> | 2010-02-05 17:42:21 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2010-02-05 17:42:21 (GMT) |
commit | f21f6c00e18c6a1acd5c854f3bb6dd3430740af5 (patch) | |
tree | ac9510cf19a9fe9e587d86587a1377661a8507a9 /generic/ttk/ttkEntry.c | |
parent | e53aee245eff6859ad19a3960e62218ccb271d48 (diff) | |
download | tk-f21f6c00e18c6a1acd5c854f3bb6dd3430740af5.zip tk-f21f6c00e18c6a1acd5c854f3bb6dd3430740af5.tar.gz tk-f21f6c00e18c6a1acd5c854f3bb6dd3430740af5.tar.bz2 |
Make the various stub tables and hook pointers const,
just as Tcl and Tk.
Make more internal tables "const"
Diffstat (limited to 'generic/ttk/ttkEntry.c')
-rw-r--r-- | generic/ttk/ttkEntry.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/ttk/ttkEntry.c b/generic/ttk/ttkEntry.c index 18591b6..58c2c35 100644 --- a/generic/ttk/ttkEntry.c +++ b/generic/ttk/ttkEntry.c @@ -1,5 +1,5 @@ /* - * $Id: ttkEntry.c,v 1.19 2010/01/31 22:50:55 jenglish Exp $ + * $Id: ttkEntry.c,v 1.20 2010/02/05 17:42:21 nijtmans Exp $ * * DERIVED FROM: tk/generic/tkEntry.c r1.35. * @@ -33,7 +33,7 @@ typedef enum validateMode { VMODE_ALL, VMODE_KEY, VMODE_FOCUS, VMODE_FOCUSIN, VMODE_FOCUSOUT, VMODE_NONE } VMODE; -static const char *validateStrings[] = { +static const char *const validateStrings[] = { "all", "key", "focus", "focusin", "focusout", "none", NULL }; @@ -46,7 +46,7 @@ typedef enum validateReason { VALIDATE_FORCED } VREASON; -static const char *validateReasonStrings[] = { +static const char *const validateReasonStrings[] = { "key", "key", "focusin", "focusout", "forced", NULL }; |