diff options
| author | Fred Pierresteguy | 1994-02-11 13:25:11 +0000 |
|---|---|---|
| committer | Fred Pierresteguy | 1994-02-11 13:25:11 +0000 |
| commit | 9d7e2e3eeffa43255802ef8e8eed3ab53dff43bf (patch) | |
| tree | a83e572a774b0c161e46f01c02c05555045ea403 /src | |
| parent | 85f487d15cfad983171db939ce68b179a9b166d9 (diff) | |
| download | emacs-9d7e2e3eeffa43255802ef8e8eed3ab53dff43bf.tar.gz emacs-9d7e2e3eeffa43255802ef8e8eed3ab53dff43bf.zip | |
(x_destroy_window) [USE_X_TOOLKIT]: Call free_frame_menubar.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xterm.c b/src/xterm.c index ccbb59f750d..9e9e020c529 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -95,6 +95,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | |||
| 95 | #ifdef USE_X_TOOLKIT | 95 | #ifdef USE_X_TOOLKIT |
| 96 | extern XtAppContext Xt_app_con; | 96 | extern XtAppContext Xt_app_con; |
| 97 | extern Widget Xt_app_shell; | 97 | extern Widget Xt_app_shell; |
| 98 | extern void free_frame_menubar (); | ||
| 98 | #endif /* USE_X_TOOLKIT */ | 99 | #endif /* USE_X_TOOLKIT */ |
| 99 | 100 | ||
| 100 | #ifdef HAVE_X11 | 101 | #ifdef HAVE_X11 |
| @@ -4923,6 +4924,7 @@ x_destroy_window (f) | |||
| 4923 | XDestroyWindow (XDISPLAY f->display.x->window_desc); | 4924 | XDestroyWindow (XDISPLAY f->display.x->window_desc); |
| 4924 | #ifdef USE_X_TOOLKIT | 4925 | #ifdef USE_X_TOOLKIT |
| 4925 | XtDestroyWidget (f->display.x->widget); | 4926 | XtDestroyWidget (f->display.x->widget); |
| 4927 | free_frame_menubar (f); | ||
| 4926 | #endif /* USE_X_TOOLKIT */ | 4928 | #endif /* USE_X_TOOLKIT */ |
| 4927 | 4929 | ||
| 4928 | free_frame_faces (f); | 4930 | free_frame_faces (f); |