mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 21:20:53 -08:00
(x_destroy_window) [USE_X_TOOLKIT]: Call free_frame_menubar.
This commit is contained in:
parent
85f487d15c
commit
9d7e2e3eef
1 changed files with 2 additions and 0 deletions
|
|
@ -95,6 +95,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
|
|||
#ifdef USE_X_TOOLKIT
|
||||
extern XtAppContext Xt_app_con;
|
||||
extern Widget Xt_app_shell;
|
||||
extern void free_frame_menubar ();
|
||||
#endif /* USE_X_TOOLKIT */
|
||||
|
||||
#ifdef HAVE_X11
|
||||
|
|
@ -4923,6 +4924,7 @@ x_destroy_window (f)
|
|||
XDestroyWindow (XDISPLAY f->display.x->window_desc);
|
||||
#ifdef USE_X_TOOLKIT
|
||||
XtDestroyWidget (f->display.x->widget);
|
||||
free_frame_menubar (f);
|
||||
#endif /* USE_X_TOOLKIT */
|
||||
|
||||
free_frame_faces (f);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue