summaryrefslogtreecommitdiffstats
path: root/generic/ttk/ttkFrame.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/ttkFrame.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/ttkFrame.c')
-rw-r--r--generic/ttk/ttkFrame.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/ttk/ttkFrame.c b/generic/ttk/ttkFrame.c
index b4b8654..ee5259f 100644
--- a/generic/ttk/ttkFrame.c
+++ b/generic/ttk/ttkFrame.c
@@ -1,4 +1,4 @@
-/* $Id: ttkFrame.c,v 1.4 2007/01/03 05:06:25 nijtmans Exp $
+/* $Id: ttkFrame.c,v 1.5 2007/01/11 14:49:47 jenglish Exp $
* Copyright (c) 2004, Joe English
*
* ttk::frame and ttk::labelframe widgets.
@@ -29,7 +29,7 @@ typedef struct
FramePart frame;
} Frame;
-static const Tk_OptionSpec FrameOptionSpecs[] =
+static Tk_OptionSpec FrameOptionSpecs[] =
{
{TK_OPTION_PIXELS, "-borderwidth", "borderWidth", "BorderWidth", NULL,
Tk_Offset(Frame,frame.borderWidthObj), -1,
@@ -250,7 +250,7 @@ typedef struct
#define LABELWIDGET_CHANGED 0x100
-static const Tk_OptionSpec LabelframeOptionSpecs[] =
+static Tk_OptionSpec LabelframeOptionSpecs[] =
{
{TK_OPTION_STRING, "-labelanchor", "labelAnchor", "LabelAnchor",
"nw", Tk_Offset(Labelframe, label.labelAnchorObj),-1,
@@ -480,7 +480,7 @@ static void LabelframeLostSlave(ClientData clientData, Tk_Window slaveWindow)
Ttk_LostSlaveProc(clientData, slaveWindow);
}
-static const Tk_OptionSpec LabelOptionSpecs[] = {
+static Tk_OptionSpec LabelOptionSpecs[] = {
{TK_OPTION_END, 0,0,0, NULL, -1,-1, 0, 0,0}
};