use the same kludge-removal approach in the prior commit for the meter dialog too...
[ardour.git] / gtk2_ardour / tempo_dialog.h
index cfb09b047626cf42f66d98c9f6064ebe35b16f82..ba269a44259a1408c7e4c3a14ed5346d2255fab7 100644 (file)
@@ -81,10 +81,13 @@ private:
        void init (const Timecode::BBT_Time&, double, double, bool);
        bool entry_key_press (GdkEventKey* );
        bool entry_key_release (GdkEventKey* );
-       void note_types_change ();
+       void note_type_change ();
+
+       typedef std::map<std::string,float> NoteTypes;
+       NoteTypes note_types;
 
        Gtk::Entry   bpb_entry;
-       Gtk::ComboBoxText note_types;
+       Gtk::ComboBoxText note_type;
        std::vector<std::string> strings;
        Gtk::Button  ok_button;
        Gtk::Button  cancel_button;