aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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 {