aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann2001-04-05 13:08:48 +0000
committerGerd Moellmann2001-04-05 13:08:48 +0000
commit30ca89f529cd78252144ebf32409813d529aa693 (patch)
tree313db0f8cce7eead155209e21d00636ccd8cb3c0 /src
parentae5564222b7ce27ea8d9a9d83e2c1ce86f90a943 (diff)
downloademacs-30ca89f529cd78252144ebf32409813d529aa693.tar.gz
emacs-30ca89f529cd78252144ebf32409813d529aa693.zip
(x_free_frame_resources) [USE_X_TOOLKIT]: Set
f->output_data.x->widget to null after destroying it.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog9
-rw-r--r--src/xterm.c5
2 files changed, 13 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 27f1a7f7108..11a53dbe1c0 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,14 @@
12001-04-05 Gerd Moellmann <gerd@gnu.org> 12001-04-05 Gerd Moellmann <gerd@gnu.org>
2 2
3 * xfns.c (Vmotif_version_string) [USE_MOTIF]: New variable.
4 (syms_of_xfns): DEFVAR_LISP it. Initialize from XmVERSION_STRING.
5
6 * xmenu.c (free_frame_menubar) [USE_MOTIF]: Preserve the
7 shell widget's position only if it is non-null.
8
9 * xterm.c (x_free_frame_resources) [USE_X_TOOLKIT]: Set
10 f->output_data.x->widget to null after destroying it.
11
3 * fns.c (Frequire): Doc fix. Rename parameter FILE_NAME to 12 * fns.c (Frequire): Doc fix. Rename parameter FILE_NAME to
4 FILENAME to bring it in synch with the documentation. 13 FILENAME to bring it in synch with the documentation.
5 14
diff --git a/src/xterm.c b/src/xterm.c
index f4cce32b5fa..15ba1e9c6dc 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -12821,7 +12821,10 @@ x_free_frame_resources (f)
12821 12821
12822#ifdef USE_X_TOOLKIT 12822#ifdef USE_X_TOOLKIT
12823 if (f->output_data.x->widget) 12823 if (f->output_data.x->widget)
12824 XtDestroyWidget (f->output_data.x->widget); 12824 {
12825 XtDestroyWidget (f->output_data.x->widget);
12826 f->output_data.x->widget = NULL;
12827 }
12825 free_frame_menubar (f); 12828 free_frame_menubar (f);
12826#endif /* USE_X_TOOLKIT */ 12829#endif /* USE_X_TOOLKIT */
12827 12830