diff src/xmenu.c @ 73662:ea2e12adb144

* xmenu.c (Fmenu_bar_open): Declare variable before BLOCK_INPUT to avoid gcc 2.95 error.
author Chong Yidong <cyd@stupidchicken.com>
date Sat, 04 Nov 2006 03:21:40 +0000
parents 332f0639af48
children 54a6e7ed953c
line wrap: on
line diff
--- a/src/xmenu.c	Sat Nov 04 03:08:35 2006 +0000
+++ b/src/xmenu.c	Sat Nov 04 03:21:40 2006 +0000
@@ -1395,8 +1395,10 @@
      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);