summaryrefslogtreecommitdiffstats
path: root/generic/ttk/ttkEntry.c
diff options
context:
space:
mode:
authorjenglish <jenglish@flightlab.com>2007-01-11 14:49:45 (GMT)
committerjenglish <jenglish@flightlab.com>2007-01-11 14:49:45 (GMT)
commita46a8df372318c40d2d0c346578eef7412a7b257 (patch)
treefe033de3dd789135611ff553cdad27ead5f00297 /generic/ttk/ttkEntry.c
parent67771314a2fb4326cc411f74011c1d47edd3bfa5 (diff)
downloadtk-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.c6
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,