diff options
author | Tim Mayberry <mojofunk@gmail.com> | 2007-06-17 00:47:40 +0000 |
---|---|---|
committer | Tim Mayberry <mojofunk@gmail.com> | 2007-06-17 00:47:40 +0000 |
commit | 36291eb399316b01bf7d23137eb9b9a3bad6998d (patch) | |
tree | dd48e3de88534110fb304978da6ea6e82fba3748 /gtk2_ardour/export_dialog.cc | |
parent | 4b95621853072c44b1df698df8a96d7d9167319f (diff) |
Make Stateful::*instant_xml methods protected and non-virtual
Add add_instant_xml and instant_xml methods to the Session class which call
the corresponding Stateful methods with the session directory for the
directory argument
Add add_instant_xml and instant_xml methods to the Configuration class which
call the Stateful methods with ARDOUR::get_user_ardour_path() for the directory
argument
git-svn-id: svn://localhost/ardour2/trunk@2012 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/export_dialog.cc')
-rw-r--r-- | gtk2_ardour/export_dialog.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/export_dialog.cc b/gtk2_ardour/export_dialog.cc index 3a66099b6c..2d73887d3a 100644 --- a/gtk2_ardour/export_dialog.cc +++ b/gtk2_ardour/export_dialog.cc @@ -431,7 +431,7 @@ ExportDialog::connect_to_session (Session *s) void ExportDialog::set_state() { - XMLNode* node = session->instant_xml(X_("ExportDialog"), session->path()); + XMLNode* node = session->instant_xml(X_("ExportDialog")); XMLProperty* prop; if (node) { @@ -582,7 +582,7 @@ ExportDialog::save_state() } node->add_child_nocopy(*tracks); - session->add_instant_xml(*node, session->path()); + session->add_instant_xml(*node); } void |