diff options
author | nijtmans <nijtmans> | 2007-01-03 05:06:25 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2007-01-03 05:06:25 (GMT) |
commit | 04839e2ede345ab7e9e61a07baefd1c91cca56bf (patch) | |
tree | ee02b8a4aebc8b8d0adb8c18fad99e3cbea4c19a /generic/ttk/ttkPanedwindow.c | |
parent | df1d5b0c6b3bdf308fd86c0101f8e9110b177a6d (diff) | |
download | tk-04839e2ede345ab7e9e61a07baefd1c91cca56bf.zip tk-04839e2ede345ab7e9e61a07baefd1c91cca56bf.tar.gz tk-04839e2ede345ab7e9e61a07baefd1c91cca56bf.tar.bz2 |
various "const" additions, in line with TIP #27
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 cb0502a..840f160 100644 --- a/generic/ttk/ttkPanedwindow.c +++ b/generic/ttk/ttkPanedwindow.c @@ -1,4 +1,4 @@ -/* $Id: ttkPanedwindow.c,v 1.7 2006/12/14 19:51:04 jenglish Exp $ +/* $Id: ttkPanedwindow.c,v 1.8 2007/01/03 05:06:25 nijtmans Exp $ * * Copyright (c) 2005, Joe English. Freely redistributable. * @@ -75,7 +75,7 @@ typedef struct { /* @@@ NOTE: -orient is readonly 'cause dynamic oriention changes NYI */ -static Tk_OptionSpec PanedOptionSpecs[] = { +static const 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 Tk_OptionSpec PaneOptionSpecs[] = { +static const 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} |