]> git.eshelyaron.com Git - emacs.git/commitdiff
(x_free_frame_resources) [USE_X_TOOLKIT]: Set
authorGerd Moellmann <gerd@gnu.org>
Thu, 5 Apr 2001 13:08:48 +0000 (13:08 +0000)
committerGerd Moellmann <gerd@gnu.org>
Thu, 5 Apr 2001 13:08:48 +0000 (13:08 +0000)
f->output_data.x->widget to null after destroying it.

src/ChangeLog
src/xterm.c

index 27f1a7f710814c33b10f01ff7bc9a5fc0bef8b7d..11a53dbe1c0458488ba58bd4577e6f2d048a3955 100644 (file)
@@ -1,5 +1,14 @@
 2001-04-05  Gerd Moellmann  <gerd@gnu.org>
 
+       * xfns.c (Vmotif_version_string) [USE_MOTIF]: New variable.
+       (syms_of_xfns): DEFVAR_LISP it.  Initialize from XmVERSION_STRING.
+
+       * xmenu.c (free_frame_menubar) [USE_MOTIF]: Preserve the
+       shell widget's position only if it is non-null.
+
+       * xterm.c (x_free_frame_resources) [USE_X_TOOLKIT]: Set 
+       f->output_data.x->widget to null after destroying it.
+
        * fns.c (Frequire): Doc fix.  Rename parameter FILE_NAME to
        FILENAME to bring it in synch with the documentation.
 
index f4cce32b5fafd6f4c4f1fd3aca49e0412996fb69..15ba1e9c6dc322194950cc0b465b279398ceac28 100644 (file)
@@ -12821,7 +12821,10 @@ x_free_frame_resources (f)
       
 #ifdef USE_X_TOOLKIT
       if (f->output_data.x->widget)
-       XtDestroyWidget (f->output_data.x->widget);
+       {
+         XtDestroyWidget (f->output_data.x->widget);
+         f->output_data.x->widget = NULL;
+       }
       free_frame_menubar (f);
 #endif /* USE_X_TOOLKIT */