aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFred Pierresteguy1994-03-23 18:22:13 +0000
committerFred Pierresteguy1994-03-23 18:22:13 +0000
commitc4ff032379d9dcadb1d679ab74507c180fa5a709 (patch)
tree96fbaa2c3695f09b35031cbaf8def93d1d5d3648 /src
parenta15849cbd891825a607b6c1505bc9f823bee54c0 (diff)
downloademacs-c4ff032379d9dcadb1d679ab74507c180fa5a709.tar.gz
emacs-c4ff032379d9dcadb1d679ab74507c180fa5a709.zip
(Fx_create_frame): Call initialize_frame_menubar.
Diffstat (limited to 'src')
-rw-r--r--src/xfns.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xfns.c b/src/xfns.c
index c5a064809fa..dea6db53db2 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -75,6 +75,7 @@ XtAppContext Xt_app_con;
75Widget Xt_app_shell; 75Widget Xt_app_shell;
76 76
77extern void free_frame_menubar (); 77extern void free_frame_menubar ();
78extern void free_frame_menubar ();
78#endif /* USE_X_TOOLKIT */ 79#endif /* USE_X_TOOLKIT */
79 80
80#define min(a,b) ((a) < (b) ? (a) : (b)) 81#define min(a,b) ((a) < (b) ? (a) : (b))
@@ -2135,6 +2136,9 @@ be shared by the new frame.")
2135 or making it visible won't work. */ 2136 or making it visible won't work. */
2136 Vframe_list = Fcons (frame, Vframe_list); 2137 Vframe_list = Fcons (frame, Vframe_list);
2137 2138
2139 /* Compute the size of the menubar and display it. */
2140 initialize_frame_menubar (f);
2141
2138 /* Make the window appear on the frame and enable display, 2142 /* Make the window appear on the frame and enable display,
2139 unless the caller says not to. */ 2143 unless the caller says not to. */
2140 { 2144 {