summaryrefslogtreecommitdiffstats
path: root/generic/tkMenu.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-07-02 13:58:21 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-07-02 13:58:21 (GMT)
commit32dfbede133921ddb52e77da15090b48ca29385b (patch)
treeb9de9356180a2ab644ce083e3202801b23aa6237 /generic/tkMenu.c
parent2c8eede9b0c6a025746f162918bf40395637119b (diff)
downloadtk-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.c2
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}
};