summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authordas <das>2007-09-03 01:43:06 (GMT)
committerdas <das>2007-09-03 01:43:06 (GMT)
commit467374f42f6015fb5d2f81ef77eaa7d7109f0b23 (patch)
tree7f2550038bb2f95d92ea9bdc27ebecc8979b5b25 /generic
parent5397491a300effb666df74fee45b7ce334350586 (diff)
downloadtk-467374f42f6015fb5d2f81ef77eaa7d7109f0b23.zip
tk-467374f42f6015fb5d2f81ef77eaa7d7109f0b23.tar.gz
tk-467374f42f6015fb5d2f81ef77eaa7d7109f0b23.tar.bz2
* generic/ttk/ttkInit.c (Ttk_Init): register ttk in package database
to enable extension access to the ttkStubs table. * generic/ttk/ttkDecls.h: correct capitalization of ttk package name.
Diffstat (limited to 'generic')
-rw-r--r--generic/ttk/ttkDecls.h4
-rw-r--r--generic/ttk/ttkInit.c4
2 files changed, 3 insertions, 5 deletions
diff --git a/generic/ttk/ttkDecls.h b/generic/ttk/ttkDecls.h
index 0c7d57c..058a128 100644
--- a/generic/ttk/ttkDecls.h
+++ b/generic/ttk/ttkDecls.h
@@ -1,5 +1,5 @@
/*
- * $Id: ttkDecls.h,v 1.3 2006/12/10 19:19:44 jenglish Exp $
+ * $Id: ttkDecls.h,v 1.4 2007/09/03 01:43:06 das Exp $
*
* This file is (mostly) automatically generated from ttk.decls.
*/
@@ -15,7 +15,7 @@ extern const char *TtkInitializeStubs(
interp, TTK_VERSION, TTK_STUBS_EPOCH, TTK_STUBS_REVISION)
#else
-#define Ttk_InitStubs(interp) Tcl_PkgRequire(interp,"ttk",TTK_VERSION)
+#define Ttk_InitStubs(interp) Tcl_PkgRequire(interp,"Ttk",TTK_VERSION)
#endif
diff --git a/generic/ttk/ttkInit.c b/generic/ttk/ttkInit.c
index f12a01b..0642226 100644
--- a/generic/ttk/ttkInit.c
+++ b/generic/ttk/ttkInit.c
@@ -1,4 +1,4 @@
-/* $Id: ttkInit.c,v 1.5 2007/01/03 05:06:25 nijtmans Exp $
+/* $Id: ttkInit.c,v 1.6 2007/09/03 01:43:07 das Exp $
* Copyright (c) 2003, Joe English
*
* Ttk package: initialization routine and miscellaneous utilities.
@@ -276,9 +276,7 @@ Ttk_Init(Tcl_Interp *interp)
Ttk_PlatformInit(interp);
-#if 0
Tcl_PkgProvideEx(interp, "Ttk", TTK_PATCH_LEVEL, (void*)&ttkStubs);
-#endif
return TCL_OK;
}