summaryrefslogtreecommitdiff
path: root/gtk2_ardour/bundle_manager.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2009-12-05 03:04:54 +0000
committerCarl Hetherington <carl@carlh.net>2009-12-05 03:04:54 +0000
commitabd80d0f64a4b32c3a8cce01c9aa1d6bc7ee64bb (patch)
treec46721af34d296670a6da0ce87eaaac1c5208f6f /gtk2_ardour/bundle_manager.h
parentbdf5dead24c16e23977d4b3d2561dbb0f8a7ae4e (diff)
Clean up and comment PortMatrix event handling a bit.
Fix problems with attempts to access Session after it has been destroyed. git-svn-id: svn://localhost/ardour2/branches/3.0@6290 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/bundle_manager.h')
-rw-r--r--gtk2_ardour/bundle_manager.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk2_ardour/bundle_manager.h b/gtk2_ardour/bundle_manager.h
index 94078a14af..3beb77e952 100644
--- a/gtk2_ardour/bundle_manager.h
+++ b/gtk2_ardour/bundle_manager.h
@@ -35,7 +35,7 @@ namespace ARDOUR {
class BundleEditorMatrix : public PortMatrix
{
public:
- BundleEditorMatrix (Gtk::Window *, ARDOUR::Session &, boost::shared_ptr<ARDOUR::Bundle>);
+ BundleEditorMatrix (Gtk::Window *, ARDOUR::Session *, boost::shared_ptr<ARDOUR::Bundle>);
void set_state (ARDOUR::BundleChannel c[2], bool s);
PortMatrixNode::State get_state (ARDOUR::BundleChannel c[2]) const;
@@ -67,7 +67,7 @@ class BundleEditorMatrix : public PortMatrix
class BundleEditor : public ArdourDialog
{
public:
- BundleEditor (ARDOUR::Session &, boost::shared_ptr<ARDOUR::UserBundle>);
+ BundleEditor (ARDOUR::Session *, boost::shared_ptr<ARDOUR::UserBundle>);
protected:
void on_map ();
@@ -88,7 +88,7 @@ class BundleEditor : public ArdourDialog
class BundleManager : public ArdourDialog
{
public:
- BundleManager (ARDOUR::Session &);
+ BundleManager (ARDOUR::Session *);
private:
@@ -115,7 +115,7 @@ class BundleManager : public ArdourDialog
Gtk::TreeView _tree_view;
Glib::RefPtr<Gtk::ListStore> _list_model;
ModelColumns _list_model_columns;
- ARDOUR::Session& _session;
+ ARDOUR::Session* _session;
Gtk::Button edit_button;
Gtk::Button delete_button;
};