13
0

Remove unused variable.

git-svn-id: svn://localhost/ardour2/branches/3.0@5157 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2009-06-10 21:09:46 +00:00
parent 34ae8c4d23
commit 6532d139ec
3 changed files with 1 additions and 4 deletions

View File

@ -354,7 +354,6 @@ Editor::Editor ()
no_region_list_redisplay = false; no_region_list_redisplay = false;
resize_idle_id = -1; resize_idle_id = -1;
_scrubbing = false;
scrubbing_direction = 0; scrubbing_direction = 0;
sfbrowser = 0; sfbrowser = 0;

View File

@ -1364,7 +1364,6 @@ class Editor : public PublicEditor
void start_scrolling (); void start_scrolling ();
void stop_scrolling (); void stop_scrolling ();
bool _scrubbing;
double last_scrub_x; double last_scrub_x;
int scrubbing_direction; int scrubbing_direction;
int scrub_reversals; int scrub_reversals;

View File

@ -1369,7 +1369,6 @@ Editor::button_release_handler (ArdourCanvas::Item* item, GdkEvent* event, ItemT
break; break;
case MouseAudition: case MouseAudition:
_scrubbing = false;
track_canvas->get_window()->set_cursor (*current_canvas_cursor); track_canvas->get_window()->set_cursor (*current_canvas_cursor);
if (scrubbing_direction == 0) { if (scrubbing_direction == 0) {
/* no drag, just a click */ /* no drag, just a click */
@ -1465,7 +1464,7 @@ Editor::enter_handler (ArdourCanvas::Item* item, GdkEvent* event, ItemType item_
fraction = 1.0 - (cp->get_y() / cp->line().height()); fraction = 1.0 - (cp->get_y() / cp->line().height());
if (is_drawable() && !_scrubbing) { if (is_drawable() && dynamic_cast<ScrubDrag*> (_drag) == 0) {
track_canvas->get_window()->set_cursor (*fader_cursor); track_canvas->get_window()->set_cursor (*fader_cursor);
} }