diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2006-10-18 17:42:59 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2006-10-18 17:42:59 +0000 |
commit | 0c31e4c4f3d0bfe37d26a793c934f1b436f8fa0f (patch) | |
tree | 4699d75314f5a1952404408de6bb18edc5984b6f /gtk2_ardour/send_ui.cc | |
parent | 177b2a2a17ad7ceb75b2149429363dad74a11530 (diff) |
more object lifetime management fixes, plus a couple of tiny cleanups
git-svn-id: svn://localhost/ardour2/trunk@992 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/send_ui.cc')
-rw-r--r-- | gtk2_ardour/send_ui.cc | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/gtk2_ardour/send_ui.cc b/gtk2_ardour/send_ui.cc index 88b8b304e4..c4656834a6 100644 --- a/gtk2_ardour/send_ui.cc +++ b/gtk2_ardour/send_ui.cc @@ -98,14 +98,6 @@ SendUI::outs_changed (IOChange change, void* ignored) } void -SendUI::send_going_away () -{ - ENSURE_GUI_THREAD (mem_fun (*this, &SendUI::send_going_away)) - - delete this; -} - -void SendUI::update () { } @@ -146,7 +138,6 @@ void SendUIWindow::send_going_away () { ENSURE_GUI_THREAD (mem_fun (*this, &SendUIWindow::send_going_away)); - - delete this; + delete_when_idle (this); } |