diff options
| author | Fred Pierresteguy | 1994-03-23 18:22:13 +0000 |
|---|---|---|
| committer | Fred Pierresteguy | 1994-03-23 18:22:13 +0000 |
| commit | c4ff032379d9dcadb1d679ab74507c180fa5a709 (patch) | |
| tree | 96fbaa2c3695f09b35031cbaf8def93d1d5d3648 /src | |
| parent | a15849cbd891825a607b6c1505bc9f823bee54c0 (diff) | |
| download | emacs-c4ff032379d9dcadb1d679ab74507c180fa5a709.tar.gz emacs-c4ff032379d9dcadb1d679ab74507c180fa5a709.zip | |
(Fx_create_frame): Call initialize_frame_menubar.
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 | { |