diff options
author | Chong Yidong <cyd@stupidchicken.com> | 2006-11-04 03:21:40 +0000 |
---|---|---|
committer | Chong Yidong <cyd@stupidchicken.com> | 2006-11-04 03:21:40 +0000 |
commit | 8630721ec93c38b9ddacfe2a529e69ec10400eef (patch) | |
tree | 0ecb4e32fc3440525483816da95afec2aec9c4ec /src/xmenu.c | |
parent | ffbdf67b4c0bff0616b65d5365dc43a07f5d3f72 (diff) | |
download | emacs-8630721ec93c38b9ddacfe2a529e69ec10400eef.tar.gz |
* xmenu.c (Fmenu_bar_open): Declare variable before BLOCK_INPUT to
avoid gcc 2.95 error.
Diffstat (limited to 'src/xmenu.c')
-rw-r--r-- | src/xmenu.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/xmenu.c b/src/xmenu.c index d049fb99c66..7c397fbd6e1 100644 --- a/src/xmenu.c +++ b/src/xmenu.c @@ -1395,8 +1395,10 @@ If FRAME is nil or not given, use the selected frame. */) Lisp_Object frame; { GtkWidget *menubar; + FRAME_PTR f; + BLOCK_INPUT; - FRAME_PTR f = check_x_frame (frame); + f = check_x_frame (frame); if (FRAME_EXTERNAL_MENU_BAR (f)) set_frame_menubar (f, 0, 1); |