diff src/xfns.c @ 6506:0d4be1fbfb4d

(Fx_create_frame): Add USE_X_TOOLKIT conditional around the call to initialize_frame_menubar.
author Fred Pierresteguy <F.Pierresteguy@frcl.bull.fr>
date Thu, 24 Mar 1994 07:36:56 +0000
parents b0825eef18b1
children 22c56514eeb3
line wrap: on
line diff
--- a/src/xfns.c	Wed Mar 23 22:55:59 1994 +0000
+++ b/src/xfns.c	Thu Mar 24 07:36:56 1994 +0000
@@ -2136,8 +2136,10 @@
      or making it visible won't work.  */
   Vframe_list = Fcons (frame, Vframe_list);
 
+#ifdef USE_X_TOOLKIT
   /* Compute the size of the menubar and display it.  */
   initialize_frame_menubar (f);
+#endif /* USE_X_TOOLKIT */
 
   /* Make the window appear on the frame and enable display,
      unless the caller says not to.  */