diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2008-10-11 12:34:46 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2008-10-11 12:34:46 +0000 |
commit | f75fa3404fd67891f0070d9cab50542b81db72ee (patch) | |
tree | e140db3c192fc06383059377b12bde9ed201d6dc /gtk2_ardour | |
parent | 97e3ec1864b3b34e1b8a1317783ef97fea1315ce (diff) |
minor C++ include issues, debug out removed and bump to 2.6
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3920 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/automation_line.cc | 3 | ||||
-rw-r--r-- | gtk2_ardour/keyboard.cc | 1 |
2 files changed, 0 insertions, 4 deletions
diff --git a/gtk2_ardour/automation_line.cc b/gtk2_ardour/automation_line.cc index 7b4f8130bb..21a7a2f515 100644 --- a/gtk2_ardour/automation_line.cc +++ b/gtk2_ardour/automation_line.cc @@ -765,10 +765,7 @@ AutomationLine::get_verbose_cursor_string (float fraction) if (fraction == 0.0) { snprintf (buf, sizeof (buf), "-inf dB"); } else { - cerr << "from fraction " << fraction << " derived "; - cerr << coefficient_to_dB (slider_position_to_gain (fraction)); snprintf (buf, sizeof (buf), "%.1fdB", coefficient_to_dB (slider_position_to_gain (fraction))); - cerr << " which prints as " << buf << endl; } } else { snprintf (buf, sizeof (buf), "%.2f", fraction); diff --git a/gtk2_ardour/keyboard.cc b/gtk2_ardour/keyboard.cc index c3d9122f17..2e2ca5e553 100644 --- a/gtk2_ardour/keyboard.cc +++ b/gtk2_ardour/keyboard.cc @@ -360,7 +360,6 @@ Keyboard::set_snap_modifier (guint mod) bool Keyboard::is_edit_event (GdkEventButton *ev) { - return (ev->type == GDK_BUTTON_PRESS || ev->type == GDK_BUTTON_RELEASE) && (ev->button == Keyboard::edit_button()) && ((ev->state & RelevantModifierKeyMask) == Keyboard::edit_modifier()); |