summaryrefslogtreecommitdiffstats
path: root/generic/ttk/ttkClassicTheme.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/ttkClassicTheme.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/ttkClassicTheme.c')
-rw-r--r--generic/ttk/ttkClassicTheme.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/generic/ttk/ttkClassicTheme.c b/generic/ttk/ttkClassicTheme.c
index 94178a5..d81d204 100644
--- a/generic/ttk/ttkClassicTheme.c
+++ b/generic/ttk/ttkClassicTheme.c
@@ -1,5 +1,5 @@
/*
- * $Id: ttkClassicTheme.c,v 1.7 2008/07/04 19:05:04 jenglish Exp $
+ * $Id: ttkClassicTheme.c,v 1.8 2010/01/22 14:17:53 nijtmans Exp $
*
* Copyright (c) 2004, Joe English
*
@@ -30,7 +30,7 @@ static Ttk_ElementOptionSpec HighlightElementOptions[] = {
Tk_Offset(HighlightElement,highlightColorObj), DEFAULT_BACKGROUND },
{ "-highlightthickness",TK_OPTION_PIXELS,
Tk_Offset(HighlightElement,highlightThicknessObj), "0" },
- {NULL}
+ { NULL, 0, 0, NULL }
};
static void HighlightElementSize(
@@ -95,7 +95,7 @@ static Ttk_ElementOptionSpec ButtonBorderElementOptions[] =
Tk_Offset(ButtonBorderElement,reliefObj), "flat" },
{ "-default", TK_OPTION_ANY,
Tk_Offset(ButtonBorderElement,defaultStateObj), "disabled" },
- {NULL}
+ { NULL, 0, 0, NULL }
};
static void ButtonBorderElementSize(
@@ -208,7 +208,7 @@ static Ttk_ElementOptionSpec ArrowElementOptions[] =
{ "-borderwidth", TK_OPTION_PIXELS, Tk_Offset(ArrowElement,borderWidthObj),
DEFAULT_BORDERWIDTH },
{ "-relief", TK_OPTION_RELIEF, Tk_Offset(ArrowElement,reliefObj),"raised" },
- { NULL }
+ { NULL, 0, 0, NULL }
};
static void ArrowElementSize(
@@ -320,7 +320,7 @@ static Ttk_ElementOptionSpec SashOptions[] = {
Tk_Offset(SashElement,handleSizeObj), "8" },
{ "-handlepad", TK_OPTION_PIXELS,
Tk_Offset(SashElement,handlePadObj), "8" },
- {0,0,0}
+ { NULL, 0, 0, NULL }
};
static void SashElementSize(