summaryrefslogtreecommitdiff
path: root/libs/ardour/region.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2006-10-11 19:50:15 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2006-10-11 19:50:15 +0000
commit360a903069c7a0dd5e792312ec0eb8921a2aa49d (patch)
treeef92987f0c3190c4df451e2303abf2d9ac5f995c /libs/ardour/region.cc
parent7cdca2efdb14e94e71545f646761db604cfd08c8 (diff)
make MementoCommand inherit from sigc::trackable so that we don't double-call its object-going-away handler; make big clock float ; do not use shared_ptr<T> in session region signalhandlers, just weak_ptr<T>
git-svn-id: svn://localhost/ardour2/trunk@976 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/region.cc')
-rw-r--r--libs/ardour/region.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/libs/ardour/region.cc b/libs/ardour/region.cc
index 528bb52a01..ccdf3bdb5d 100644
--- a/libs/ardour/region.cc
+++ b/libs/ardour/region.cc
@@ -147,9 +147,7 @@ Region::Region (const XMLNode& node)
Region::~Region ()
{
- notify_callbacks ();
-
- /* derived classes must emit GoingAway */
+ /* derived classes must call notify_callbacks() and then emit GoingAway */
}
void