diff options
author | jenglish <jenglish@flightlab.com> | 2007-01-11 14:49:45 (GMT) |
---|---|---|
committer | jenglish <jenglish@flightlab.com> | 2007-01-11 14:49:45 (GMT) |
commit | a46a8df372318c40d2d0c346578eef7412a7b257 (patch) | |
tree | fe033de3dd789135611ff553cdad27ead5f00297 /generic/ttk/ttkEntry.c | |
parent | 67771314a2fb4326cc411f74011c1d47edd3bfa5 (diff) | |
download | tk-a46a8df372318c40d2d0c346578eef7412a7b257.zip tk-a46a8df372318c40d2d0c346578eef7412a7b257.tar.gz tk-a46a8df372318c40d2d0c346578eef7412a7b257.tar.bz2 |
Revert addition of contravariant 'const' qualifiers,
to keep in sync with Tile codebase (which must remain
compatible with Tk 8.4).
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 b2f75ad..1d4d765 100644 --- a/generic/ttk/ttkEntry.c +++ b/generic/ttk/ttkEntry.c @@ -1,5 +1,5 @@ /* - * $Id: ttkEntry.c,v 1.5 2007/01/03 05:06:25 nijtmans Exp $ + * $Id: ttkEntry.c,v 1.6 2007/01/11 14:49:47 jenglish Exp $ * * DERIVED FROM: tk/generic/tkEntry.c r1.35. * @@ -158,7 +158,7 @@ typedef struct #define DEF_ENTRY_FONT "TkTextFont" #define DEF_LIST_HEIGHT "10" -static const Tk_OptionSpec EntryOptionSpecs[] = +static Tk_OptionSpec EntryOptionSpecs[] = { WIDGET_TAKES_FOCUS, @@ -1690,7 +1690,7 @@ typedef struct { ComboboxPart combobox; } Combobox; -static const Tk_OptionSpec ComboboxOptionSpecs[] = +static Tk_OptionSpec ComboboxOptionSpecs[] = { {TK_OPTION_STRING, "-height", "height", "Height", DEF_LIST_HEIGHT, Tk_Offset(Combobox, combobox.heightObj), -1, |