summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_sources.h
diff options
context:
space:
mode:
authorBen Loftis <ben@harrisonconsoles.com>2019-07-30 13:43:14 -0500
committerBen Loftis <ben@harrisonconsoles.com>2019-08-01 12:11:31 -0500
commitd400dd813af4731e72dcd997f8332924c2b45c0f (patch)
tree6d147af2302c37d85989c0b241feeb28fa0430be /gtk2_ardour/editor_sources.h
parent595959abf7256655a25e30b8b03474df05a3493f (diff)
(Source List) Handle Session::RemoveSource
Diffstat (limited to 'gtk2_ardour/editor_sources.h')
-rw-r--r--gtk2_ardour/editor_sources.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/gtk2_ardour/editor_sources.h b/gtk2_ardour/editor_sources.h
index 5bcc9f5c2d..e12cac8065 100644
--- a/gtk2_ardour/editor_sources.h
+++ b/gtk2_ardour/editor_sources.h
@@ -116,7 +116,7 @@ private:
void format_position (ARDOUR::samplepos_t pos, char* buf, size_t bufsize, bool onoff = true);
void add_source (boost::shared_ptr<ARDOUR::Region>);
- void remove_source (boost::shared_ptr<ARDOUR::Region>);
+ void remove_source (boost::shared_ptr<ARDOUR::Source>);
void clock_format_changed ();
@@ -143,8 +143,9 @@ private:
Glib::RefPtr<Gtk::TreeStore> _model;
- PBD::ScopedConnection region_property_connection;
- PBD::ScopedConnection check_new_region_connection;
+ PBD::ScopedConnection source_property_connection;
+ PBD::ScopedConnection add_source_connection;
+ PBD::ScopedConnection remove_source_connection;
PBD::ScopedConnection editor_freeze_connection;
PBD::ScopedConnection editor_thaw_connection;