]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fx_create_frame): Add USE_X_TOOLKIT conditional around the call to
authorFred Pierresteguy <F.Pierresteguy@frcl.bull.fr>
Thu, 24 Mar 1994 07:36:56 +0000 (07:36 +0000)
committerFred Pierresteguy <F.Pierresteguy@frcl.bull.fr>
Thu, 24 Mar 1994 07:36:56 +0000 (07:36 +0000)
initialize_frame_menubar.

src/xfns.c

index fb788dd7f58f614e436420dd6dcd1fbb54ab69e1..e5a71fdd6661e219da9bd7d6c1095269d48997b3 100644 (file)
@@ -2136,8 +2136,10 @@ be shared by the new frame.")
      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.  */