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/ttkNotebook.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/ttkNotebook.c')
-rw-r--r-- | generic/ttk/ttkNotebook.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/ttk/ttkNotebook.c b/generic/ttk/ttkNotebook.c index de499ce..cd5847e 100644 --- a/generic/ttk/ttkNotebook.c +++ b/generic/ttk/ttkNotebook.c @@ -1,4 +1,4 @@ -/* $Id: ttkNotebook.c,v 1.5 2007/01/03 05:06:25 nijtmans Exp $ +/* $Id: ttkNotebook.c,v 1.6 2007/01/11 14:49:47 jenglish Exp $ * Copyright (c) 2004, Joe English * * NOTE-ACTIVE: activeTabIndex is not always correct (it's @@ -62,7 +62,7 @@ typedef struct * PaneOptionSpecs includes additional options for child window placement * and is used to configure the slave. */ -static const Tk_OptionSpec TabOptionSpecs[] = +static Tk_OptionSpec TabOptionSpecs[] = { {TK_OPTION_STRING_TABLE, "-state", "", "", "normal", -1,Tk_Offset(Tab,state), @@ -79,7 +79,7 @@ static const Tk_OptionSpec TabOptionSpecs[] = {TK_OPTION_END} }; -static const Tk_OptionSpec PaneOptionSpecs[] = +static Tk_OptionSpec PaneOptionSpecs[] = { {TK_OPTION_STRING, "-padding", "padding", "Padding", "0", Tk_Offset(Tab,paddingObj), -1, 0,0,GEOMETRY_CHANGED }, @@ -114,7 +114,7 @@ typedef struct NotebookPart notebook; } Notebook; -static const Tk_OptionSpec NotebookOptionSpecs[] = +static Tk_OptionSpec NotebookOptionSpecs[] = { WIDGET_TAKES_FOCUS, |