French translation update
[ardour.git] / gtk2_ardour / tempo_dialog.cc
index 68a781a54f35a49e78680c6c54bf74a47d897298..c28dfaf2194c4222300db562b525b114057fe194 100644 (file)
@@ -26,7 +26,7 @@
 #include "tempo_dialog.h"
 #include "ui_config.h"
 
-#include "i18n.h"
+#include "pbd/i18n.h"
 
 using namespace std;
 using namespace Gtk;
@@ -48,7 +48,7 @@ TempoDialog::TempoDialog (TempoMap& map, framepos_t frame, const string&)
        Tempo tempo (map.tempo_at_frame (frame));
        Timecode::BBT_Time when (map.bbt_at_frame (frame));
 
-       init (when, tempo.beats_per_minute(), tempo.note_type(), TempoSection::Constant, true, MusicTime);
+       init (when, tempo.note_types_per_minute(), tempo.note_type(), TempoSection::Constant, true, MusicTime);
 }
 
 TempoDialog::TempoDialog (TempoMap& map, TempoSection& section, const string&)
@@ -63,7 +63,7 @@ TempoDialog::TempoDialog (TempoMap& map, TempoSection& section, const string&)
        , tap_tempo_button (_("Tap tempo"))
 {
        Timecode::BBT_Time when (map.bbt_at_frame (section.frame()));
-       init (when, section.beats_per_minute(), section.note_type(), section.type(), section.movable(), section.position_lock_style());
+       init (when, section.note_types_per_minute(), section.note_type(), section.type(), section.movable(), section.position_lock_style());
 }
 
 void