From 3c9a9730eadb50ef62ec74597acc3e008480722f Mon Sep 17 00:00:00 2001 From: Jan D Date: Sat, 8 May 2010 17:32:51 +0200 Subject: [PATCH] xlwmenu.c (XlwMenuDestroy): Remove XtDestroyWidget on subwidgets (Bug #6127). --- lwlib/ChangeLog | 5 +++++ lwlib/xlwmenu.c | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) 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); -- 2.39.2