summaryrefslogtreecommitdiff
path: root/gtk2_ardour/audio_time_axis.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-02-16 04:53:01 +0000
committerDavid Robillard <d@drobilla.net>2009-02-16 04:53:01 +0000
commitfb254fb2fc89f89142a2c991d9b09364ca1dac02 (patch)
treec3753426dd7c9c7d27ca4cbc0601fdc0c4e0b3aa /gtk2_ardour/audio_time_axis.cc
parent5f7b4de02414f00c98ede60db0dc1dddbbe051ae (diff)
Fix crash when NullAutomation is created (which shouldn't be happening, but hey...).
git-svn-id: svn://localhost/ardour2/branches/3.0@4598 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/audio_time_axis.cc')
-rw-r--r--gtk2_ardour/audio_time_axis.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/gtk2_ardour/audio_time_axis.cc b/gtk2_ardour/audio_time_axis.cc
index 1d66dda0b0..16a9ef6b2f 100644
--- a/gtk2_ardour/audio_time_axis.cc
+++ b/gtk2_ardour/audio_time_axis.cc
@@ -387,9 +387,7 @@ AudioTimeAxisView::ensure_pan_views (bool show)
*this,
false,
parent_canvas,
- name)
-
- );
+ name));
add_automation_child (*p, pan_track, show);
}