aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFred Pierresteguy1994-03-24 07:36:56 +0000
committerFred Pierresteguy1994-03-24 07:36:56 +0000
commit10bc4f1dc0408e9a64822e26213b558d82180b7d (patch)
treeabb4e55d8f05a38f5e31fb9f6ef00c44e17ffba1 /src
parent091d0bdf9d64ff65f8a5f085d9643bbcec1c476d (diff)
downloademacs-10bc4f1dc0408e9a64822e26213b558d82180b7d.tar.gz
emacs-10bc4f1dc0408e9a64822e26213b558d82180b7d.zip
(Fx_create_frame): Add USE_X_TOOLKIT conditional around the call to
initialize_frame_menubar.
Diffstat (limited to 'src')
-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.")
2136 or making it visible won't work. */ 2136 or making it visible won't work. */
2137 Vframe_list = Fcons (frame, Vframe_list); 2137 Vframe_list = Fcons (frame, Vframe_list);
2138 2138
2139#ifdef USE_X_TOOLKIT
2139 /* Compute the size of the menubar and display it. */ 2140 /* Compute the size of the menubar and display it. */
2140 initialize_frame_menubar (f); 2141 initialize_frame_menubar (f);
2142#endif /* USE_X_TOOLKIT */
2141 2143
2142 /* Make the window appear on the frame and enable display, 2144 /* Make the window appear on the frame and enable display,
2143 unless the caller says not to. */ 2145 unless the caller says not to. */