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)
commit45760007cbb416533997aad794968f9104f9f641 (patch)
tree7f9a5a8de512cc7d63c3eda9bc827d84e886d8f0 /win
parent40df7d03d229a28a1a47314f19916937c2277762 (diff)
downloadtk-45760007cbb416533997aad794968f9104f9f641.zip
tk-45760007cbb416533997aad794968f9104f9f641.tar.gz
tk-45760007cbb416533997aad794968f9104f9f641.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;
}