summaryrefslogtreecommitdiffstats
path: root/generic/ttk/ttkTheme.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-06-22 07:41:17 (GMT)
committernijtmans <nijtmans>2010-06-22 07:41:17 (GMT)
commitd1c5374bb608709386205d4b61bef1578672e71d (patch)
tree14cad3250e33d4643410e01d9dd52ac86464802d /generic/ttk/ttkTheme.c
parentb888cd3011dbbc4984d32475243bb501947969f2 (diff)
downloadtk-d1c5374bb608709386205d4b61bef1578672e71d.zip
tk-d1c5374bb608709386205d4b61bef1578672e71d.tar.gz
tk-d1c5374bb608709386205d4b61bef1578672e71d.tar.bz2
[Bug #3019363] "make genstubs" failure
Diffstat (limited to 'generic/ttk/ttkTheme.c')
-rw-r--r--generic/ttk/ttkTheme.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/generic/ttk/ttkTheme.c b/generic/ttk/ttkTheme.c
index 59df20d..e0d1971 100644
--- a/generic/ttk/ttkTheme.c
+++ b/generic/ttk/ttkTheme.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.
*
- * $Id: ttkTheme.c,v 1.23 2010/03/28 21:43:25 jenglish Exp $
+ * $Id: ttkTheme.c,v 1.24 2010/06/22 07:41:17 nijtmans Exp $
*/
#include <stdlib.h>
@@ -1730,8 +1730,7 @@ void Ttk_StylePkgInit(Tcl_Interp *interp)
*/
Tcl_CreateObjCommand(interp, "::ttk::style", StyleObjCmd, pkgPtr, 0);
- nsPtr = Tcl_FindNamespace(interp, "::ttk", (Tcl_Namespace *) NULL,
- TCL_LEAVE_ERR_MSG);
+ nsPtr = Tcl_FindNamespace(interp, "::ttk", NULL, TCL_LEAVE_ERR_MSG);
Tcl_Export(interp, nsPtr, "style", 0 /* dontResetList */);
Ttk_RegisterElementFactory(interp, "from", Ttk_CloneElement, 0);