summaryrefslogtreecommitdiffstats
path: root/generic/tkFrame.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-18 18:08:37 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-18 18:08:37 (GMT)
commit95c5b39b2e335c0fc08a25281ad9097a29aee1ae (patch)
treebab392895ed17f917311f2fb0119304a49a10671 /generic/tkFrame.c
parent15bcec02d97d8789fa796cabdc76859618f22387 (diff)
downloadtk-95c5b39b2e335c0fc08a25281ad9097a29aee1ae.zip
tk-95c5b39b2e335c0fc08a25281ad9097a29aee1ae.tar.gz
tk-95c5b39b2e335c0fc08a25281ad9097a29aee1ae.tar.bz2
make some more internal tables CONST
Diffstat (limited to 'generic/tkFrame.c')
-rw-r--r--generic/tkFrame.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkFrame.c b/generic/tkFrame.c
index 453ad73..a416b22 100644
--- a/generic/tkFrame.c
+++ b/generic/tkFrame.c
@@ -170,7 +170,7 @@ enum labelanchor {
LABELANCHOR_W, LABELANCHOR_WN, LABELANCHOR_WS
};
-static char *labelAnchorStrings[] = {
+static CONST char *labelAnchorStrings[] = {
"e", "en", "es", "n", "ne", "nw", "s", "se", "sw", "w", "wn", "ws",
(char *) NULL
};
@@ -302,7 +302,7 @@ static Tk_OptionSpec labelframeOptSpec[] = {
* Class names for widgets, indexed by FrameType.
*/
-static char *classNames[] = {"Frame", "Toplevel", "Labelframe"};
+static CONST char *classNames[] = {"Frame", "Toplevel", "Labelframe"};
/*
* The following table maps from FrameType to the option template for
@@ -312,7 +312,7 @@ static char *classNames[] = {"Frame", "Toplevel", "Labelframe"};
static Tk_OptionSpec *optionSpecs[] = {
frameOptSpec,
toplevelOptSpec,
- labelframeOptSpec,
+ labelframeOptSpec
};
/*