summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorjenglish <jenglish@flightlab.com>2013-02-15 18:45:46 (GMT)
committerjenglish <jenglish@flightlab.com>2013-02-15 18:45:46 (GMT)
commit3a0a3af5fbfdc2275497d5eed3a34b77b82c7651 (patch)
tree7f9a5a8de512cc7d63c3eda9bc827d84e886d8f0 /win
parenta7eb87d912cdb8eb16009a7054d882a52d6f5747 (diff)
downloadtk-3a0a3af5fbfdc2275497d5eed3a34b77b82c7651.zip
tk-3a0a3af5fbfdc2275497d5eed3a34b77b82c7651.tar.gz
tk-3a0a3af5fbfdc2275497d5eed3a34b77b82c7651.tar.bz2
ttk::theme::* packages don't Provide anything Extra.
Change Tcl_PkgProvideEx() back to Tcl_PkgProvide().
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 569d445..63e9704 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_PkgProvideEx(interp, "ttk::theme::winnative", TTK_VERSION, NULL);
+ Tcl_PkgProvide(interp, "ttk::theme::winnative", TTK_VERSION);
return TCL_OK;
}
diff --git a/win/ttkWinXPTheme.c b/win/ttkWinXPTheme.c
index 435282d..1a5e934 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_PkgProvideEx(interp, "ttk::theme::xpnative", TTK_VERSION, NULL);
+ Tcl_PkgProvide(interp, "ttk::theme::xpnative", TTK_VERSION);
return TCL_OK;
}