summaryrefslogtreecommitdiffstats
path: root/win
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 /win
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 'win')
-rw-r--r--win/ttkWinTheme.c2
-rw-r--r--win/ttkWinXPTheme.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/win/ttkWinTheme.c b/win/ttkWinTheme.c
index 63e9704..569d445 100644
--- a/win/ttkWinTheme.c
+++ b/win/ttkWinTheme.c
@@ -727,7 +727,7 @@ int TtkWinTheme_Init(Tcl_Interp *interp, HWND hwnd)
Ttk_RegisterLayouts(themePtr, LayoutTable);
- Tcl_PkgProvide(interp, "ttk::theme::winnative", TTK_VERSION);
+ Tcl_PkgProvideEx(interp, "ttk::theme::winnative", TTK_VERSION, NULL);
return TCL_OK;
}
diff --git a/win/ttkWinXPTheme.c b/win/ttkWinXPTheme.c
index 1a5e934..435282d 100644
--- a/win/ttkWinXPTheme.c
+++ b/win/ttkWinXPTheme.c
@@ -1319,7 +1319,7 @@ MODULE_SCOPE int TtkXPTheme_Init(Tcl_Interp *interp, HWND hwnd)
*/
Ttk_RegisterLayouts(themePtr, LayoutTable);
- Tcl_PkgProvide(interp, "ttk::theme::xpnative", TTK_VERSION);
+ Tcl_PkgProvideEx(interp, "ttk::theme::xpnative", TTK_VERSION, NULL);
return TCL_OK;
}