summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--generic/ttk/ttkClamTheme.c2
-rw-r--r--generic/ttk/ttkClassicTheme.c2
-rw-r--r--generic/ttk/ttkDefaultTheme.c2
-rw-r--r--macosx/ttkMacOSXTheme.c2
-rw-r--r--win/ttkWinTheme.c2
-rw-r--r--win/ttkWinXPTheme.c2
6 files changed, 6 insertions, 6 deletions
diff --git a/generic/ttk/ttkClamTheme.c b/generic/ttk/ttkClamTheme.c
index fc4f712..572f630 100644
--- a/generic/ttk/ttkClamTheme.c
+++ b/generic/ttk/ttkClamTheme.c
@@ -965,7 +965,7 @@ TtkClamTheme_Init(Tcl_Interp *interp)
Ttk_RegisterLayouts(theme, LayoutTable);
- Tcl_PkgProvideEx(interp, "ttk::theme::clam", TTK_VERSION, NULL);
+ Tcl_PkgProvide(interp, "ttk::theme::clam", TTK_VERSION);
return TCL_OK;
}
diff --git a/generic/ttk/ttkClassicTheme.c b/generic/ttk/ttkClassicTheme.c
index e23ecb3..2fbcd76 100644
--- a/generic/ttk/ttkClassicTheme.c
+++ b/generic/ttk/ttkClassicTheme.c
@@ -505,7 +505,7 @@ MODULE_SCOPE int TtkClassicTheme_Init(Tcl_Interp *interp)
*/
Ttk_RegisterLayouts(theme, LayoutTable);
- Tcl_PkgProvideEx(interp, "ttk::theme::classic", TTK_VERSION, NULL);
+ Tcl_PkgProvide(interp, "ttk::theme::classic", TTK_VERSION);
return TCL_OK;
}
diff --git a/generic/ttk/ttkDefaultTheme.c b/generic/ttk/ttkDefaultTheme.c
index 9f7e621..0c55651 100644
--- a/generic/ttk/ttkDefaultTheme.c
+++ b/generic/ttk/ttkDefaultTheme.c
@@ -1122,7 +1122,7 @@ MODULE_SCOPE int TtkAltTheme_Init(Tcl_Interp *interp)
Ttk_RegisterElement(interp, theme, "Treeitem.indicator",
&TreeitemIndicatorElementSpec, 0);
- Tcl_PkgProvideEx(interp, "ttk::theme::alt", TTK_VERSION, NULL);
+ Tcl_PkgProvide(interp, "ttk::theme::alt", TTK_VERSION);
return TCL_OK;
}
diff --git a/macosx/ttkMacOSXTheme.c b/macosx/ttkMacOSXTheme.c
index b5a0adc..5752fb1 100644
--- a/macosx/ttkMacOSXTheme.c
+++ b/macosx/ttkMacOSXTheme.c
@@ -1182,7 +1182,7 @@ static int AquaTheme_Init(Tcl_Interp *interp)
*/
Ttk_RegisterLayouts(themePtr, LayoutTable);
- Tcl_PkgProvideEx(interp, "ttk::theme::aqua", TTK_VERSION, NULL);
+ Tcl_PkgProvide(interp, "ttk::theme::aqua", TTK_VERSION);
return TCL_OK;
}
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;
}