diff options
author | nijtmans <nijtmans@noemail.net> | 2007-01-03 05:06:25 (GMT) |
---|---|---|
committer | nijtmans <nijtmans@noemail.net> | 2007-01-03 05:06:25 (GMT) |
commit | a813ed7dbedb22794ef49349d34c01446fe01bf3 (patch) | |
tree | ee02b8a4aebc8b8d0adb8c18fad99e3cbea4c19a /generic/tkListbox.c | |
parent | 20bc56dc6b930904a8dfaccf986fbc6db4603883 (diff) | |
download | tk-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/tkListbox.c')
-rw-r--r-- | generic/tkListbox.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkListbox.c b/generic/tkListbox.c index d5f0663..ca888a2 100644 --- a/generic/tkListbox.c +++ b/generic/tkListbox.c @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkListbox.c,v 1.36 2006/12/04 20:13:21 hobbs Exp $ + * RCS: @(#) $Id: tkListbox.c,v 1.37 2007/01/03 05:06:25 nijtmans Exp $ */ #include "tkPort.h" @@ -230,7 +230,7 @@ static char *activeStyleStrings[] = { * listbox widget. */ -static Tk_OptionSpec optionSpecs[] = { +static const Tk_OptionSpec optionSpecs[] = { {TK_OPTION_STRING_TABLE, "-activestyle", "activeStyle", "ActiveStyle", DEF_LISTBOX_ACTIVE_STYLE, -1, Tk_Offset(Listbox, activeStyle), 0, (ClientData) activeStyleStrings, 0}, @@ -311,7 +311,7 @@ static Tk_OptionSpec optionSpecs[] = { * listbox items */ -static Tk_OptionSpec itemAttrOptionSpecs[] = { +static const Tk_OptionSpec itemAttrOptionSpecs[] = { {TK_OPTION_BORDER, "-background", "background", "Background", NULL, -1, Tk_Offset(ItemAttr, border), TK_OPTION_NULL_OK|TK_OPTION_DONT_SET_DEFAULT, |