diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-07-02 13:58:21 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-07-02 13:58:21 (GMT) |
commit | 32dfbede133921ddb52e77da15090b48ca29385b (patch) | |
tree | b9de9356180a2ab644ce083e3202801b23aa6237 /generic/tkMenu.c | |
parent | 2c8eede9b0c6a025746f162918bf40395637119b (diff) | |
download | tk-32dfbede133921ddb52e77da15090b48ca29385b.zip tk-32dfbede133921ddb52e77da15090b48ca29385b.tar.gz tk-32dfbede133921ddb52e77da15090b48ca29385b.tar.bz2 |
Don't use constants like DEF_BUTTON_UNDERLINE any more, since the default underline should always be no underline anyway.
Diffstat (limited to 'generic/tkMenu.c')
-rw-r--r-- | generic/tkMenu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkMenu.c b/generic/tkMenu.c index a8c81f3..bb8e62a 100644 --- a/generic/tkMenu.c +++ b/generic/tkMenu.c @@ -161,7 +161,7 @@ static const Tk_OptionSpec tkBasicMenuEntryConfigSpecs[] = { TCL_INDEX_NONE, offsetof(TkMenuEntry, state), 0, (ClientData) menuStateStrings, 0}, {TK_OPTION_INDEX, "-underline", NULL, NULL, - DEF_MENU_ENTRY_UNDERLINE, TCL_INDEX_NONE, offsetof(TkMenuEntry, underline), TK_OPTION_NULL_OK, NULL, 0}, + NULL, TCL_INDEX_NONE, offsetof(TkMenuEntry, underline), TK_OPTION_NULL_OK, NULL, 0}, {TK_OPTION_END, NULL, NULL, NULL, 0, 0, 0, 0, NULL, 0} }; |