summaryrefslogtreecommitdiffstats
path: root/generic/tkStyle.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-06-15 11:16:02 (GMT)
committernijtmans <nijtmans>2010-06-15 11:16:02 (GMT)
commit1d9e4b35ac1edb7acb7a11bb871ab2a8d4263892 (patch)
tree377b18f7cb439e3eb421010182cff5c13fb0d3f6 /generic/tkStyle.c
parent8aef287d1e78682504c84c81e646a42a6730939e (diff)
downloadtk-1d9e4b35ac1edb7acb7a11bb871ab2a8d4263892.zip
tk-1d9e4b35ac1edb7acb7a11bb871ab2a8d4263892.tar.gz
tk-1d9e4b35ac1edb7acb7a11bb871ab2a8d4263892.tar.bz2
Eliminate many unnecessary (ClientData) type casts.
Diffstat (limited to 'generic/tkStyle.c')
-rw-r--r--generic/tkStyle.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/generic/tkStyle.c b/generic/tkStyle.c
index fb17b53..fda6f7b 100644
--- a/generic/tkStyle.c
+++ b/generic/tkStyle.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkStyle.c,v 1.12 2010/01/02 22:52:38 dkf Exp $
+ * RCS: @(#) $Id: tkStyle.c,v 1.13 2010/06/15 11:16:03 nijtmans Exp $
*/
#include "tkInt.h"
@@ -210,8 +210,7 @@ TkStylePkgInit(
* Create the default system style.
*/
- Tk_CreateStyle(NULL, (Tk_StyleEngine) tsdPtr->defaultEnginePtr,
- (ClientData) 0);
+ Tk_CreateStyle(NULL, (Tk_StyleEngine) tsdPtr->defaultEnginePtr, NULL);
tsdPtr->nbInit++;
}