summaryrefslogtreecommitdiffstats
path: root/generic/tkEntry.c
diff options
context:
space:
mode:
authornijtmans <nijtmans@noemail.net>2007-01-03 05:06:25 (GMT)
committernijtmans <nijtmans@noemail.net>2007-01-03 05:06:25 (GMT)
commita813ed7dbedb22794ef49349d34c01446fe01bf3 (patch)
treeee02b8a4aebc8b8d0adb8c18fad99e3cbea4c19a /generic/tkEntry.c
parent20bc56dc6b930904a8dfaccf986fbc6db4603883 (diff)
downloadtk-a813ed7dbedb22794ef49349d34c01446fe01bf3.zip
tk-a813ed7dbedb22794ef49349d34c01446fe01bf3.tar.gz
tk-a813ed7dbedb22794ef49349d34c01446fe01bf3.tar.bz2
various "const" additions, in line with TIP #27
FossilOrigin-Name: 9d88e9902fbcb520e408f0ffbdc55d52f0faa2a6
Diffstat (limited to 'generic/tkEntry.c')
-rw-r--r--generic/tkEntry.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkEntry.c b/generic/tkEntry.c
index ff5ef12..2f19050 100644
--- a/generic/tkEntry.c
+++ b/generic/tkEntry.c
@@ -14,7 +14,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkEntry.c,v 1.41 2006/09/10 17:06:31 das Exp $
+ * RCS: @(#) $Id: tkEntry.c,v 1.42 2007/01/03 05:06:26 nijtmans Exp $
*/
#include "tkInt.h"
@@ -63,7 +63,7 @@ enum validateType {
* Information used for Entry objv parsing.
*/
-static Tk_OptionSpec entryOptSpec[] = {
+static const Tk_OptionSpec entryOptSpec[] = {
{TK_OPTION_BORDER, "-background", "background", "Background",
DEF_ENTRY_BG_COLOR, -1, Tk_Offset(Entry, normalBorder),
0, (ClientData) DEF_ENTRY_BG_MONO, 0},
@@ -180,7 +180,7 @@ static Tk_OptionSpec entryOptSpec[] = {
#define DEF_SPINBOX_VALUES ""
#define DEF_SPINBOX_WRAP "0"
-static Tk_OptionSpec sbOptSpec[] = {
+static const Tk_OptionSpec sbOptSpec[] = {
{TK_OPTION_BORDER, "-activebackground", "activeBackground", "Background",
DEF_BUTTON_ACTIVE_BG_COLOR, -1, Tk_Offset(Spinbox, activeBorder),
0, (ClientData) DEF_BUTTON_ACTIVE_BG_MONO, 0},