summaryrefslogtreecommitdiffstats
path: root/generic/ttk/ttkNotebook.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/ttkNotebook.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/ttkNotebook.c')
-rw-r--r--generic/ttk/ttkNotebook.c8
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,