summaryrefslogtreecommitdiffstats
path: root/generic/tkTest.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-02-15 14:37:22 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-02-15 14:37:22 (GMT)
commit382c07bad3e6c138cce5eb70b0745dfd34626143 (patch)
tree21019f9bc668c38b9a93f67378efa05983c859cf /generic/tkTest.c
parent9233c9a6c721e76ec8b715a9a512049ce7cfb4f2 (diff)
downloadtk-382c07bad3e6c138cce5eb70b0745dfd34626143.zip
tk-382c07bad3e6c138cce5eb70b0745dfd34626143.tar.gz
tk-382c07bad3e6c138cce5eb70b0745dfd34626143.tar.bz2
Eliminate usage of Tcl_PkgProvide/Tcl_PkgRequire functions, use the 'Ex' versions in stead.
Diffstat (limited to 'generic/tkTest.c')
-rw-r--r--generic/tkTest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkTest.c b/generic/tkTest.c
index ca0aa6a..0fd7d9b 100644
--- a/generic/tkTest.c
+++ b/generic/tkTest.c
@@ -231,7 +231,7 @@ Tktest_Init(
* Create additional commands for testing Tk.
*/
- if (Tcl_PkgProvide(interp, "Tktest", TK_VERSION) == TCL_ERROR) {
+ if (Tcl_PkgProvideEx(interp, "Tktest", TK_VERSION, NULL) == TCL_ERROR) {
return TCL_ERROR;
}