summaryrefslogtreecommitdiff
path: root/gtk2_ardour/option_editor.cc
diff options
context:
space:
mode:
authorTaybin Rutkin <taybin@taybin.com>2006-05-07 17:17:38 +0000
committerTaybin Rutkin <taybin@taybin.com>2006-05-07 17:17:38 +0000
commitc67a576d611759154976ee19b8faf78583474f97 (patch)
tree096af5a51658aba7ab3b42bf88466970c621ed7c /gtk2_ardour/option_editor.cc
parentc091b877cfe1937d138b47638e2dcf7f5cbf84e5 (diff)
Improved sfdb API.
Eliminated some warnings on Darwin. Added libxslt to scons. git-svn-id: svn://localhost/trunk/ardour2@494 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/option_editor.cc')
-rw-r--r--gtk2_ardour/option_editor.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/gtk2_ardour/option_editor.cc b/gtk2_ardour/option_editor.cc
index b50b71f143..5ac4bf5a8d 100644
--- a/gtk2_ardour/option_editor.cc
+++ b/gtk2_ardour/option_editor.cc
@@ -666,8 +666,7 @@ OptionEditor::raid_path_changed ()
void
OptionEditor::click_browse_clicked ()
{
- SoundFileChooser sfdb (_("Choose Click"));
- sfdb.set_session (session);
+ SoundFileChooser sfdb (_("Choose Click"), session);
int result = sfdb.run ();
@@ -686,8 +685,7 @@ OptionEditor::click_chosen (const string & path)
void
OptionEditor::click_emphasis_browse_clicked ()
{
- SoundFileChooser sfdb (_("Choose Click Emphasis"));
- sfdb.set_session (session);
+ SoundFileChooser sfdb (_("Choose Click Emphasis"), session);
int result = sfdb.run ();