summaryrefslogtreecommitdiffstats
path: root/generic/tkMenu.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-05-05 15:37:47 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-05-05 15:37:47 (GMT)
commitaf930f542b494c26a51841c6c3ba8b38ba84d378 (patch)
treefffbe946b42d4da43a33e7f776913cb877a1a110 /generic/tkMenu.c
parent959d11df46f93807f4e8d3c99264002a054ae98a (diff)
parent2469ec79a7eedc59f089fe069bb239daaf988a82 (diff)
downloadtk-af930f542b494c26a51841c6c3ba8b38ba84d378.zip
tk-af930f542b494c26a51841c6c3ba8b38ba84d378.tar.gz
tk-af930f542b494c26a51841c6c3ba8b38ba84d378.tar.bz2
Merge 8.6
Diffstat (limited to 'generic/tkMenu.c')
-rw-r--r--generic/tkMenu.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/generic/tkMenu.c b/generic/tkMenu.c
index bc248c2..1e9fa40 100644
--- a/generic/tkMenu.c
+++ b/generic/tkMenu.c
@@ -147,8 +147,8 @@ static const Tk_OptionSpec tkBasicMenuEntryConfigSpecs[] = {
offsetof(TkMenuEntry, labelPtr), TCL_INDEX_NONE, 0, NULL, 0},
{TK_OPTION_STRING_TABLE, "-state", NULL, NULL,
DEF_MENU_ENTRY_STATE,
- TCL_INDEX_NONE, offsetof(TkMenuEntry, state), 0,
- tkStateStrings, 0},
+ TCL_INDEX_NONE, offsetof(TkMenuEntry, state),
+ 0, tkStateStrings, 0},
{TK_OPTION_INDEX, "-underline", NULL, NULL,
TK_OPTION_UNDERLINE_DEF(TkMenuEntry, underline), 0},
{TK_OPTION_END, NULL, NULL, NULL, 0, 0, 0, 0, NULL, 0}
@@ -217,8 +217,8 @@ static const Tk_OptionSpec tkTearoffEntryConfigSpecs[] = {
DEF_MENU_ENTRY_BG,
offsetof(TkMenuEntry, borderPtr), TCL_INDEX_NONE, TK_OPTION_NULL_OK, NULL, 0},
{TK_OPTION_STRING_TABLE, "-state", NULL, NULL,
- DEF_MENU_ENTRY_STATE, TCL_INDEX_NONE, offsetof(TkMenuEntry, state), 0,
- tkStateStrings, 0},
+ DEF_MENU_ENTRY_STATE, TCL_INDEX_NONE, offsetof(TkMenuEntry, state),
+ 0, tkStateStrings, 0},
{TK_OPTION_END, NULL, NULL, NULL, 0, 0, 0, 0, NULL, 0}
};
@@ -294,8 +294,8 @@ static const Tk_OptionSpec tkMenuConfigSpecs[] = {
DEF_MENU_TITLE, offsetof(TkMenu, titlePtr), TCL_INDEX_NONE,
TK_OPTION_NULL_OK, NULL, 0},
{TK_OPTION_STRING_TABLE, "-type", "type", "Type",
- DEF_MENU_TYPE, offsetof(TkMenu, menuTypePtr), TCL_INDEX_NONE, 0,
- (ClientData) menuTypeStrings, 0},
+ DEF_MENU_TYPE, offsetof(TkMenu, menuTypePtr), TCL_INDEX_NONE,
+ 0, menuTypeStrings, 0},
{TK_OPTION_END, NULL, NULL, NULL, 0, 0, 0, 0, NULL, 0}
};