diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-01-11 10:31:29 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-01-11 10:31:29 (GMT) |
commit | 430f5c9c144dca634ae3af7b82619b9bff00d64a (patch) | |
tree | 44e864e0e6f74f9789f865b88f537159aedf89ce /generic/ttk/ttkButton.c | |
parent | 7186877f46e619506da6c59f98ccaa4c623a4fbe (diff) | |
parent | 4a2efd946fe6674e460172920d097f7329d8e5d9 (diff) | |
download | tk-430f5c9c144dca634ae3af7b82619b9bff00d64a.zip tk-430f5c9c144dca634ae3af7b82619b9bff00d64a.tar.gz tk-430f5c9c144dca634ae3af7b82619b9bff00d64a.tar.bz2 |
Merge trunk.
ttkButton.c: Invalid use of TK_OPTION_DONT_SET_DEFAULT, should have been TK_OPTION_NULL_OK as in normal button.
tkTextTag.c: Use of TK_OPTION_DONT_SET_DEFAULT means that the default value "0" is ignored, so better use NULL.
Diffstat (limited to 'generic/ttk/ttkButton.c')
-rw-r--r-- | generic/ttk/ttkButton.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/ttk/ttkButton.c b/generic/ttk/ttkButton.c index 2954184..bc44f25 100644 --- a/generic/ttk/ttkButton.c +++ b/generic/ttk/ttkButton.c @@ -413,8 +413,8 @@ typedef struct static Tk_OptionSpec CheckbuttonOptionSpecs[] = { {TK_OPTION_STRING, "-variable", "variable", "Variable", - "", Tk_Offset(Checkbutton, checkbutton.variableObj), -1, - TK_OPTION_DONT_SET_DEFAULT,0,0}, + NULL, Tk_Offset(Checkbutton, checkbutton.variableObj), -1, + TK_OPTION_NULL_OK,0,0}, {TK_OPTION_STRING, "-onvalue", "onValue", "OnValue", "1", Tk_Offset(Checkbutton, checkbutton.onValueObj), -1, 0,0,0}, |