summaryrefslogtreecommitdiff
path: root/src/xmenu.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@Penguin.CS.UCLA.EDU>2019-03-15 18:24:20 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2019-03-15 18:25:24 -0700
commit0eeb8c5920640be7309e00c9dcba6b7a07f741c1 (patch)
tree90d8fb5fdb3624190e12216ad417ab29f1fc9cd6 /src/xmenu.c
parent18fb250d6748bd31672a9d2bdd5dff99ac7f7743 (diff)
downloademacs-0eeb8c5920640be7309e00c9dcba6b7a07f741c1.tar.gz
Use bool for menu_items_inuse
* src/menu.c (menu_items_inuse): Now bool, instead of a Lisp_Object that is always Qt or Qnil. All uses changed.
Diffstat (limited to 'src/xmenu.c')
-rw-r--r--src/xmenu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmenu.c b/src/xmenu.c
index fd7dea4cf8a..22d1cc21aa8 100644
--- a/src/xmenu.c
+++ b/src/xmenu.c
@@ -144,7 +144,7 @@ x_menu_set_in_use (bool in_use)
{
Lisp_Object frames, frame;
- menu_items_inuse = in_use ? Qt : Qnil;
+ menu_items_inuse = in_use;
popup_activated_flag = in_use;
#ifdef USE_X_TOOLKIT
if (popup_activated_flag)