X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Feditor_export_audio.cc;h=c1def2ba29451970933ef17c0a31d3dd207a42a9;hb=7ad62ffbedb360260fd706b47849224b2e26ef6d;hp=2bd607f10871a9a833aced746997eed9b4bccb61;hpb=6ccffbaf0937c7814f3c49510859d13bc033df99;p=ardour.git diff --git a/gtk2_ardour/editor_export_audio.cc b/gtk2_ardour/editor_export_audio.cc index 2bd607f108..c1def2ba29 100644 --- a/gtk2_ardour/editor_export_audio.cc +++ b/gtk2_ardour/editor_export_audio.cc @@ -53,7 +53,7 @@ #include "time_axis_view.h" #include "utils.h" -#include "i18n.h" +#include "pbd/i18n.h" using namespace std; using namespace ARDOUR; @@ -125,9 +125,7 @@ Editor::process_midi_export_dialog (MidiExportDialog& dialog, boost::shared_ptr< ::g_unlink (path.c_str()); } - (void) midi_region->clone (path); - - return true; + return midi_region->do_export (path); } /** Export the first selected region */