summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--generic/ttk/ttkDecls.h4
-rw-r--r--generic/ttk/ttkInit.c4
3 files changed, 10 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 23766aa..7b204e6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2007-09-03 Daniel Steffen <das@users.sourceforge.net>
+
+ * 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.
+
2007-08-28 Donal K. Fellows <donal.k.fellows@manchester.ac.uk>
Assorted documentation improvements.
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;
}