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/ttkPanedwindow.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/ttkPanedwindow.c')
-rw-r--r-- | generic/ttk/ttkPanedwindow.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/ttk/ttkPanedwindow.c b/generic/ttk/ttkPanedwindow.c index 840f160..ccc376d 100644 --- a/generic/ttk/ttkPanedwindow.c +++ b/generic/ttk/ttkPanedwindow.c @@ -1,4 +1,4 @@ -/* $Id: ttkPanedwindow.c,v 1.8 2007/01/03 05:06:25 nijtmans Exp $ +/* $Id: ttkPanedwindow.c,v 1.9 2007/01/11 14:49:47 jenglish Exp $ * * Copyright (c) 2005, Joe English. Freely redistributable. * @@ -75,7 +75,7 @@ typedef struct { /* @@@ NOTE: -orient is readonly 'cause dynamic oriention changes NYI */ -static const Tk_OptionSpec PanedOptionSpecs[] = { +static Tk_OptionSpec PanedOptionSpecs[] = { {TK_OPTION_STRING_TABLE, "-orient", "orient", "Orient", "vertical", Tk_Offset(Paned,paned.orientObj), Tk_Offset(Paned,paned.orient), 0,(ClientData)ttkOrientStrings,READONLY_OPTION|STYLE_CHANGED }, @@ -92,7 +92,7 @@ typedef struct { int weight; /* Pane -weight, for resizing */ } Pane; -static const Tk_OptionSpec PaneOptionSpecs[] = { +static Tk_OptionSpec PaneOptionSpecs[] = { {TK_OPTION_INT, "-weight", "weight", "Weight", "0", -1,Tk_Offset(Pane,weight), 0,0,GEOMETRY_CHANGED }, {TK_OPTION_END, 0,0,0, NULL, -1,-1, 0,0,0} |