diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xfns.c | 4 |
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; | |||
| 75 | Widget Xt_app_shell; | 75 | Widget Xt_app_shell; |
| 76 | 76 | ||
| 77 | extern void free_frame_menubar (); | 77 | extern void free_frame_menubar (); |
| 78 | extern 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 | { |