Commit 9d7e2e3e authored by Fred Pierresteguy's avatar Fred Pierresteguy

(x_destroy_window) [USE_X_TOOLKIT]: Call free_frame_menubar.

parent 85f487d1
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment