aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xterm.c')
-rw-r--r--src/xterm.c2
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
96extern XtAppContext Xt_app_con; 96extern XtAppContext Xt_app_con;
97extern Widget Xt_app_shell; 97extern Widget Xt_app_shell;
98extern 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);