summaryrefslogtreecommitdiffstats
path: root/generic/tkPanedWindow.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2007-01-03 05:06:25 (GMT)
committernijtmans <nijtmans>2007-01-03 05:06:25 (GMT)
commit04839e2ede345ab7e9e61a07baefd1c91cca56bf (patch)
treeee02b8a4aebc8b8d0adb8c18fad99e3cbea4c19a /generic/tkPanedWindow.c
parentdf1d5b0c6b3bdf308fd86c0101f8e9110b177a6d (diff)
downloadtk-04839e2ede345ab7e9e61a07baefd1c91cca56bf.zip
tk-04839e2ede345ab7e9e61a07baefd1c91cca56bf.tar.gz
tk-04839e2ede345ab7e9e61a07baefd1c91cca56bf.tar.bz2
various "const" additions, in line with TIP #27
Diffstat (limited to 'generic/tkPanedWindow.c')
-rw-r--r--generic/tkPanedWindow.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkPanedWindow.c b/generic/tkPanedWindow.c
index ca1c1b6..661e513 100644
--- a/generic/tkPanedWindow.c
+++ b/generic/tkPanedWindow.c
@@ -12,7 +12,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkPanedWindow.c,v 1.25 2005/11/17 10:57:35 dkf Exp $
+ * RCS: @(#) $Id: tkPanedWindow.c,v 1.26 2007/01/03 05:06:25 nijtmans Exp $
*/
#include "tkPort.h"
@@ -270,7 +270,7 @@ static Tk_ObjCustomOption stickyOption = {
0
};
-static Tk_OptionSpec optionSpecs[] = {
+static const Tk_OptionSpec optionSpecs[] = {
{TK_OPTION_BORDER, "-background", "background", "Background",
DEF_PANEDWINDOW_BG_COLOR, -1, Tk_Offset(PanedWindow, background), 0,
(ClientData) DEF_PANEDWINDOW_BG_MONO},
@@ -322,7 +322,7 @@ static Tk_OptionSpec optionSpecs[] = {
{TK_OPTION_END}
};
-static Tk_OptionSpec slaveOptionSpecs[] = {
+static const Tk_OptionSpec slaveOptionSpecs[] = {
{TK_OPTION_WINDOW, "-after", NULL, NULL,
DEF_PANEDWINDOW_PANE_AFTER, -1, Tk_Offset(Slave, after),
TK_OPTION_NULL_OK, 0, 0},