do not manage the remote control menu, since it is explicitly deleted during destruct...
[ardour.git] / gtk2_ardour / canvas-note-event.cc
index 1d015548832a06f6e5ee08f992665abd6f108e69..2ea18315f570a04369fcb7b305f2a7d91e64cff2 100644 (file)
@@ -66,7 +66,7 @@ CanvasNoteEvent::move_event(double dx, double dy)
 }
 
 void
-CanvasNoteEvent::show_velocity(void)
+CanvasNoteEvent::show_velocity()
 {
        hide_velocity();
        _text = new Text(*(_item->property_parent()));
@@ -76,16 +76,16 @@ CanvasNoteEvent::show_velocity(void)
        velo << int(_note->velocity());
        _text->property_text() = velo.str();
        _text->property_justification() = Gtk::JUSTIFY_CENTER;
-       _text->property_fill_color_rgba() = ARDOUR_UI::config()->canvasvar_MidiNoteSelectedOutline.get();
+       _text->property_fill_color_rgba() = ARDOUR_UI::config()->canvasvar_MidiNoteVelocityText.get();
        _text->show();
        _text->lower_to_bottom();
        _text->raise(2);
 }
 
 void
-CanvasNoteEvent::hide_velocity(void)
+CanvasNoteEvent::hide_velocity()
 {
-       if(_text) {
+       if (_text) {
                _text->hide();
                delete _text;
        }