xlwmenu.c (XlwMenuDestroy): Remove XtDestroyWidget on subwidgets (Bug #6127).

This commit is contained in:
Jan D 2010-05-08 17:32:51 +02:00
parent f884842302
commit 3c9a9730ea
2 changed files with 5 additions and 1 deletions

View file

@ -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.

View file

@ -2177,7 +2177,6 @@ XlwMenuDestroy (w)
{
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);