summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFred Pierresteguy <F.Pierresteguy@frcl.bull.fr>1994-03-24 07:36:56 +0000
committerFred Pierresteguy <F.Pierresteguy@frcl.bull.fr>1994-03-24 07:36:56 +0000
commit9f86528f036b6ca100ead8e11344a285dcd2d6b5 (patch)
tree107259ceb5df41d8ac57e57ad30e969baf90de94
parentb47b90ee988062523dd0e53971cfe05cc5daa000 (diff)
downloademacs-9f86528f036b6ca100ead8e11344a285dcd2d6b5.tar.gz
(Fx_create_frame): Add USE_X_TOOLKIT conditional around the call to
initialize_frame_menubar.
-rw-r--r--src/xfns.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xfns.c b/src/xfns.c
index fb788dd7f58..e5a71fdd666 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -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. */