Pointer fix from essej.
[ardour.git] / gtk2_ardour / tempo_dialog.h
index df30e9b799e3cd8d0e7fc11fb6d384c397498306..6f9b51dbca4de1b6c0d4ffc41e9d04c146b0dab6 100644 (file)
@@ -33,8 +33,8 @@ struct TempoDialog : public ArdourDialog
     Gtk::Frame   when_frame;
     char buf[64];
     
-    TempoDialog (ARDOUR::TempoMap&, jack_nframes_t, string action);
-    TempoDialog (ARDOUR::TempoSection&, string action);
+    TempoDialog (ARDOUR::TempoMap&, jack_nframes_t, const string & action);
+    TempoDialog (ARDOUR::TempoSection&, const string & action);
 
     double get_bpm ();
     bool   get_bbt_time (ARDOUR::BBT_Time&);
@@ -47,7 +47,7 @@ struct MeterDialog : public ArdourDialog
 {
     Gtk::Entry   bpb_entry;
     Gtk::ComboBoxText note_types;
-    vector<const gchar *> strings;
+    vector<string> strings;
     Gtk::Frame   note_frame;
     Gtk::Frame   bpb_frame;
     Gtk::VBox    vpacker;
@@ -64,8 +64,8 @@ struct MeterDialog : public ArdourDialog
     Gtk::Frame   when_frame;
     char buf[64];
     
-    MeterDialog (ARDOUR::TempoMap&, jack_nframes_t, string action);
-    MeterDialog (ARDOUR::MeterSection&, string action);
+    MeterDialog (ARDOUR::TempoMap&, jack_nframes_t, const string & action);
+    MeterDialog (ARDOUR::MeterSection&, const string & action);
 
     double get_bpb ();
     double get_note_type ();