diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-05-10 13:57:17 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-05-10 13:57:17 (GMT) |
commit | e3436210ba311af1d4f9777c791773e3448f183e (patch) | |
tree | 17a5a98c496cc5dc105e3d8d405f7c82affd5e2c /win/ttkWinTheme.c | |
parent | c36bb3a4ce583083ed0aac309ec563c5f0a37bdf (diff) | |
parent | dac0d44e8ac09f7ff824c1ff952201122b60245e (diff) | |
download | tk-e3436210ba311af1d4f9777c791773e3448f183e.zip tk-e3436210ba311af1d4f9777c791773e3448f183e.tar.gz tk-e3436210ba311af1d4f9777c791773e3448f183e.tar.bz2 |
4 more Tk_GetPixelsFromObj() usage: for highlightThickness, shiftrelief and sashthickness
Diffstat (limited to 'win/ttkWinTheme.c')
-rw-r--r-- | win/ttkWinTheme.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/win/ttkWinTheme.c b/win/ttkWinTheme.c index d749c09..b78a81c 100644 --- a/win/ttkWinTheme.c +++ b/win/ttkWinTheme.c @@ -732,7 +732,7 @@ typedef struct { static const Ttk_ElementOptionSpec TabElementOptions[] = { { "-borderwidth", TK_OPTION_PIXELS, - offsetof(TabElement,borderWidthObj), "1" }, + ofsetof(TabElement,borderWidthObj), "1" }, { "-background", TK_OPTION_BORDER, offsetof(TabElement,backgroundObj), DEFAULT_BACKGROUND }, {0,TK_OPTION_BOOLEAN,0,0} @@ -953,13 +953,8 @@ TTK_END_LAYOUT_TABLE /* ---------------------------------------------------------------------- */ -MODULE_SCOPE -int TtkWinTheme_Init( - Tcl_Interp *interp, - TCL_UNUSED(HWND)); - -MODULE_SCOPE -int TtkWinTheme_Init( +MODULE_SCOPE int +TtkWinTheme_Init( Tcl_Interp *interp, TCL_UNUSED(HWND)) { |