From: Jan D Date: Sat, 8 May 2010 15:32:51 +0000 (+0200) Subject: xlwmenu.c (XlwMenuDestroy): Remove XtDestroyWidget on subwidgets (Bug #6127). X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~224 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3c9a9730eadb50ef62ec74597acc3e008480722f;p=emacs.git xlwmenu.c (XlwMenuDestroy): Remove XtDestroyWidget on subwidgets (Bug #6127). --- diff --git a/lwlib/ChangeLog b/lwlib/ChangeLog index 5988977df3a..bc2c8b7f7a4 100644 --- a/lwlib/ChangeLog +++ b/lwlib/ChangeLog @@ -1,3 +1,8 @@ +2010-05-08 Jan Djärv + + * xlwmenu.c (XlwMenuDestroy): Remove XtDestroyWidget on subwidgets + (Bug #6127). + 2010-05-06 Glenn Morris * Makefile.in (CPP, LN_S, TOP, LN): Remove unused variables. diff --git a/lwlib/xlwmenu.c b/lwlib/xlwmenu.c index 52a89de2204..1bb0d50b6d7 100644 --- a/lwlib/xlwmenu.c +++ b/lwlib/xlwmenu.c @@ -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);