summaryrefslogtreecommitdiffstats
path: root/generic/tkMenu.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-10-28 16:26:04 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-10-28 16:26:04 (GMT)
commite4f9fece815b8121b9300c83a9697f2b2ea27e9f (patch)
treecd1118681d338c3f322f18ba9476511d162deb5f /generic/tkMenu.h
parent975dc4a26d2d686c80b5f06ef0f218e5e8051503 (diff)
downloadtk-e4f9fece815b8121b9300c83a9697f2b2ea27e9f.zip
tk-e4f9fece815b8121b9300c83a9697f2b2ea27e9f.tar.gz
tk-e4f9fece815b8121b9300c83a9697f2b2ea27e9f.tar.bz2
Some refactoring as initial attempt to fix [f214b8ad5b]. Not finished/tested yet.
Diffstat (limited to 'generic/tkMenu.h')
-rw-r--r--generic/tkMenu.h16
1 files changed, 1 insertions, 15 deletions
diff --git a/generic/tkMenu.h b/generic/tkMenu.h
index def7d19..bac51aa 100644
--- a/generic/tkMenu.h
+++ b/generic/tkMenu.h
@@ -359,10 +359,7 @@ typedef struct TkMenu {
/* A pointer to the original menu for this
* clone chain. Points back to this structure
* if this menu is a master menu. */
- struct TkMenuOptionTables *optionTablesPtr;
- /* A pointer to the collection of option
- * tables that work with menus and menu
- * entries. */
+ void *reserved1; /* not used any more. */
Tk_Window parentTopLevelPtr;/* If this menu is a menubar, this is the
* toplevel that owns the menu. Only
* applicable for menubar clones. */
@@ -431,17 +428,6 @@ typedef struct TkMenuReferences {
} TkMenuReferences;
/*
- * This structure contains all of the option tables that are needed by menus.
- */
-
-typedef struct TkMenuOptionTables {
- Tk_OptionTable menuOptionTable;
- /* The option table for menus. */
- Tk_OptionTable entryOptionTables[6];
- /* The tables for menu entries. */
-} TkMenuOptionTables;
-
-/*
* Flag bits for menus:
*
* REDRAW_PENDING: Non-zero means a DoWhenIdle handler has