changeset 108373:38a6beebdf4a

xlwmenu.c (XlwMenuDestroy): Remove XtDestroyWidget on subwidgets (Bug #6127).
author Jan D <jan.h.d@swipnet.se>
date Sat, 08 May 2010 17:32:51 +0200
parents 2c9c20cfa4ee
children f043f612f6da
files lwlib/ChangeLog lwlib/xlwmenu.c
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lwlib/ChangeLog	Sat May 08 16:25:31 2010 +0300
+++ b/lwlib/ChangeLog	Sat May 08 17:32:51 2010 +0200
@@ -1,3 +1,8 @@
+2010-05-08  Jan Djärv  <jan.h.d@swipnet.se>
+
+	* xlwmenu.c (XlwMenuDestroy): Remove XtDestroyWidget on subwidgets
+	(Bug #6127).
+
 2010-05-06  Glenn Morris  <rgm@gnu.org>
 
 	* Makefile.in (CPP, LN_S, TOP, LN): Remove unused variables.
--- a/lwlib/xlwmenu.c	Sat May 08 16:25:31 2010 +0300
+++ b/lwlib/xlwmenu.c	Sat May 08 17:32:51 2010 +0200
@@ -2177,7 +2177,6 @@
     {
       if (mw->menu.windows [i].pixmap != None) 
         XFreePixmap (XtDisplay (mw), mw->menu.windows [i].pixmap);
-      XtDestroyWidget (mw->menu.windows [i].w);
 #ifdef HAVE_XFT
       if (mw->menu.windows [i].xft_draw)
         XftDrawDestroy (mw->menu.windows [i].xft_draw);