summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_mouse.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-09-22 16:54:17 +0000
committerDavid Robillard <d@drobilla.net>2008-09-22 16:54:17 +0000
commit8623302340b091fd65a5ad2ff5dc25915ea297ca (patch)
tree0f10b12399392de3fb8f27f00802ec37c5970528 /gtk2_ardour/editor_mouse.cc
parentea1c7058391bfd0bf080f2b3b0789a3e89437fff (diff)
Set add route dialog non-resizeable so WMs size it more sensibly (looked ridiculous in ion3).
Tab cleanups. git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3787 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_mouse.cc')
-rw-r--r--gtk2_ardour/editor_mouse.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk2_ardour/editor_mouse.cc b/gtk2_ardour/editor_mouse.cc
index ab1f4792eb..1a440a825a 100644
--- a/gtk2_ardour/editor_mouse.cc
+++ b/gtk2_ardour/editor_mouse.cc
@@ -3082,8 +3082,7 @@ Editor::line_drag_motion_callback (ArdourCanvas::Item* item, GdkEvent* event)
cy = max (0.0, cy);
cy = min ((double) line->height(), cy);
- double fraction;
- fraction = 1.0 - (cy / line->height());
+ double fraction = 1.0 - (cy / line->height());
bool push;