From d889d8e53758973017dc2fa5f9804b1c8162bd97 Mon Sep 17 00:00:00 2001 From: "slamm%netscape.com" Date: Thu, 3 Sep 1998 21:43:47 +0000 Subject: [PATCH] Let RDFBase handle deleting the pane. --- cmd/xfe/src/RDFMenuToolbarBase.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cmd/xfe/src/RDFMenuToolbarBase.cpp b/cmd/xfe/src/RDFMenuToolbarBase.cpp index 013c70236e9..5a0da65dee9 100644 --- a/cmd/xfe/src/RDFMenuToolbarBase.cpp +++ b/cmd/xfe/src/RDFMenuToolbarBase.cpp @@ -89,8 +89,6 @@ XFE_RDFMenuToolbarBase::XFE_RDFMenuToolbarBase( XFE_Frame * frame, /* virtual */ XFE_RDFMenuToolbarBase::~XFE_RDFMenuToolbarBase() { - HT_DeletePane(_ht_pane); - XFE_MozillaApp::theApp()->unregisterInterest( XFE_MozillaApp::updateToolbarAppearance, this, @@ -1811,6 +1809,7 @@ XFE_RDFMenuToolbarBase::setItemLabelString(Widget item,HT_Resource entry) void XFE_RDFMenuToolbarBase::notify(HT_Resource n, HT_Event whatHappened) { + D(debugEvent(n, whatHappened,"MTB");); switch (whatHappened) { case HT_EVENT_VIEW_SELECTED: _ht_view = HT_GetSelectedView(_ht_pane);