summaryrefslogtreecommitdiffstats
path: root/generic/ttk/ttkLabel.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-01-22 14:17:53 (GMT)
committernijtmans <nijtmans>2010-01-22 14:17:53 (GMT)
commit3998cf77ee9513d59f553516618187a6bccb697f (patch)
tree000910596afd8ed4fc7d62d3df7ec8d8b277d252 /generic/ttk/ttkLabel.c
parent027efdef074cb8c116b5f9c888ad445ea692f654 (diff)
downloadtk-3998cf77ee9513d59f553516618187a6bccb697f.zip
tk-3998cf77ee9513d59f553516618187a6bccb697f.tar.gz
tk-3998cf77ee9513d59f553516618187a6bccb697f.tar.bz2
fix more gcc warnings: missing initializer
Eliminate use of __argc and __argv for CYGWIN Make cygwin configuration error into a warning: CYGWIN compilation works although there still are test failures.
Diffstat (limited to 'generic/ttk/ttkLabel.c')
-rw-r--r--generic/ttk/ttkLabel.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/generic/ttk/ttkLabel.c b/generic/ttk/ttkLabel.c
index 3c7902e..3f1d7c7 100644
--- a/generic/ttk/ttkLabel.c
+++ b/generic/ttk/ttkLabel.c
@@ -1,4 +1,4 @@
-/* $Id: ttkLabel.c,v 1.12 2008/05/23 17:58:33 jenglish Exp $
+/* $Id: ttkLabel.c,v 1.13 2010/01/22 14:17:53 nijtmans Exp $
*
* text, image, and label elements.
*
@@ -67,7 +67,7 @@ static Ttk_ElementOptionSpec TextElementOptions[] = {
Tk_Offset(TextElement,wrapLengthObj), "0" },
{ "-embossed", TK_OPTION_INT,
Tk_Offset(TextElement,embossedObj), "0"},
- {NULL}
+ { NULL, 0, 0, NULL }
};
static int TextSetup(TextElement *text, Tk_Window tkwin)
@@ -236,7 +236,7 @@ static Ttk_ElementOptionSpec ImageElementOptions[] = {
Tk_Offset(ImageElement,stippleObj), "gray50" },
{ "-background", TK_OPTION_COLOR,
Tk_Offset(ImageElement,backgroundObj), DEFAULT_BACKGROUND },
- {NULL}
+ { NULL, 0, 0, NULL }
};
/*
@@ -452,8 +452,7 @@ static Ttk_ElementOptionSpec LabelElementOptions[] = {
Tk_Offset(LabelElement,image.stippleObj), "gray50" },
{ "-background", TK_OPTION_COLOR,
Tk_Offset(LabelElement,image.backgroundObj), DEFAULT_BACKGROUND },
-
- {NULL}
+ { NULL, 0, 0, NULL }
};
/*