summaryrefslogtreecommitdiffstats
path: root/generic/tkSquare.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-06-20 07:10:50 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-06-20 07:10:50 (GMT)
commitd2edf97572cd6a302c0c6532e3684b01058614e4 (patch)
tree08d3ae1b3a466d075dc1f2047a170656d36e53e1 /generic/tkSquare.c
parent41b819e2be9dd110354f34eb007b7ebea51665fa (diff)
downloadtk-d2edf97572cd6a302c0c6532e3684b01058614e4.zip
tk-d2edf97572cd6a302c0c6532e3684b01058614e4.tar.gz
tk-d2edf97572cd6a302c0c6532e3684b01058614e4.tar.bz2
frq-3536507: clientData field in Tk_OptionSpec should be "const void *"frq_3536507
Diffstat (limited to 'generic/tkSquare.c')
-rw-r--r--generic/tkSquare.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/generic/tkSquare.c b/generic/tkSquare.c
index e9b0081..787630d 100644
--- a/generic/tkSquare.c
+++ b/generic/tkSquare.c
@@ -67,20 +67,20 @@ typedef struct {
static const Tk_OptionSpec optionSpecs[] = {
{TK_OPTION_BORDER, "-background", "background", "Background",
"#d9d9d9", Tk_Offset(Square, bgBorderPtr), -1, 0,
- (ClientData) "white", 0},
+ "white", 0},
{TK_OPTION_SYNONYM, "-bd", NULL, NULL, NULL, 0, -1, 0,
- (ClientData) "-borderwidth", 0},
+ "-borderwidth", 0},
{TK_OPTION_SYNONYM, "-bg", NULL, NULL, NULL, 0, -1, 0,
- (ClientData) "-background", 0},
+ "-background", 0},
{TK_OPTION_PIXELS, "-borderwidth", "borderWidth", "BorderWidth",
"2", Tk_Offset(Square, borderWidthPtr), -1, 0, NULL, 0},
{TK_OPTION_BOOLEAN, "-dbl", "doubleBuffer", "DoubleBuffer",
"1", Tk_Offset(Square, doubleBufferPtr), -1, 0 , NULL, 0},
{TK_OPTION_SYNONYM, "-fg", NULL, NULL, NULL, 0, -1, 0,
- (ClientData) "-foreground", 0},
+ "-foreground", 0},
{TK_OPTION_BORDER, "-foreground", "foreground", "Foreground",
"#b03060", Tk_Offset(Square, fgBorderPtr), -1, 0,
- (ClientData) "black", 0},
+ "black", 0},
{TK_OPTION_PIXELS, "-posx", "posx", "PosX", "0",
Tk_Offset(Square, xPtr), -1, 0, NULL, 0},
{TK_OPTION_PIXELS, "-posy", "posy", "PosY", "0",