changeset 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 ce4fbb055f87
children ff41e0e932b8
files src/xfns.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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.  */