mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-23 10:34:07 +00:00
(x_destroy_window) [USE_X_TOOLKIT]: Call free_frame_menubar.
This commit is contained in:
parent
85f487d15c
commit
9d7e2e3eef
@ -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…
Reference in New Issue
Block a user