summaryrefslogtreecommitdiff
path: root/src/ui/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/util.h')
-rw-r--r--src/ui/util.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ui/util.h b/src/ui/util.h
index 2423f834..87b72394 100644
--- a/src/ui/util.h
+++ b/src/ui/util.h
@@ -220,7 +220,10 @@ struct Impl_MenuItem {
220 const char *label; 220 const char *label;
221 int key; 221 int key;
222 int kmods; 222 int kmods;
223 const char *command; 223 union {
224 const char *command;
225 const void *data;
226 };
224}; 227};
225 228
226iWidget * makeMenu_Widget (iWidget *parent, const iMenuItem *items, size_t n); /* returns no ref */ 229iWidget * makeMenu_Widget (iWidget *parent, const iMenuItem *items, size_t n); /* returns no ref */