diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-06-16 22:16:46 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-06-16 22:16:46 (GMT) |
commit | 72fb10940a9941ab37ccffa22f56a4f4a044e1fe (patch) | |
tree | d1ba9e919b7b48e86094388830d923d0831c2396 /generic/tkScrollbar.c | |
parent | 3951487aa1587e2fedee41985f6b60f0e9bb1e77 (diff) | |
download | tk-72fb10940a9941ab37ccffa22f56a4f4a044e1fe.zip tk-72fb10940a9941ab37ccffa22f56a4f4a044e1fe.tar.gz tk-72fb10940a9941ab37ccffa22f56a4f4a044e1fe.tar.bz2 |
Implement TK_CONFIG_NULL_OK for TK_CONFIG_PIXELS. Needed for "-elementborderwidth" in tkScrollbar.c
Make TK_OPTION_NULL_OK the same value as TCL_NULL_OK for Tcl 9, but keep binary compatibility. Fix some spacing
Diffstat (limited to 'generic/tkScrollbar.c')
-rw-r--r-- | generic/tkScrollbar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkScrollbar.c b/generic/tkScrollbar.c index 04a4168..d91b603 100644 --- a/generic/tkScrollbar.c +++ b/generic/tkScrollbar.c @@ -57,7 +57,7 @@ static const Tk_ConfigSpec configSpecs[] = { DEF_SCROLLBAR_CURSOR, offsetof(TkScrollbar, cursor), TK_CONFIG_NULL_OK, NULL}, {TK_CONFIG_PIXELS, "-elementborderwidth", "elementBorderWidth", "BorderWidth", DEF_SCROLLBAR_EL_BORDER_WIDTH, - offsetof(TkScrollbar, elementBorderWidth), 0, NULL}, + offsetof(TkScrollbar, elementBorderWidth), TK_CONFIG_NULL_OK, NULL}, {TK_CONFIG_COLOR, "-highlightbackground", "highlightBackground", "HighlightBackground", DEF_SCROLLBAR_HIGHLIGHT_BG, offsetof(TkScrollbar, highlightBgColorPtr), 0, NULL}, |