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)
commit649bb87097dfc9ebfc2e4988e12e233e1a082c5a (patch)
tree21019f9bc668c38b9a93f67378efa05983c859cf /generic/tkTest.c
parenta761005e3247bd033727afc2b876d1ec8a289849 (diff)
downloadtk-649bb87097dfc9ebfc2e4988e12e233e1a082c5a.zip
tk-649bb87097dfc9ebfc2e4988e12e233e1a082c5a.tar.gz
tk-649bb87097dfc9ebfc2e4988e12e233e1a082c5a.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;
}