HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
06c2c73
)
(set_frame_menubar): Use -1 for call_data
author
Richard M. Stallman
<rms@gnu.org>
Thu, 25 Jul 1996 08:50:26 +0000
(08:50 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Thu, 25 Jul 1996 08:50:26 +0000
(08:50 +0000)
in the deep_p = 0 case.
src/xmenu.c
patch
|
blob
|
blame
|
history
diff --git
a/src/xmenu.c
b/src/xmenu.c
index
ee78f29
..
bc9a9fb
100644
(file)
--- a/
src/xmenu.c
+++ b/
src/xmenu.c
@@
-1732,6
+1732,11
@@
set_frame_menubar (f, first_time, deep_p)
wv->name = (char *) XSTRING (string)->data;
wv->value = 0;
wv->enabled = 1;
+ /* This prevents lwlib from assuming this
+ menu item is really supposed to be empty. */
+ /* The EMACS_INT cast avoids a warning.
+ This value just has to be different from small integers. */
+ wv->call_data = (void *) (EMACS_INT) (-1);
if (prev_wv)
prev_wv->next = wv;