summaryrefslogtreecommitdiff
path: root/gtk2_ardour/audio_time_axis.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2008-05-02 20:02:48 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2008-05-02 20:02:48 +0000
commit20157d04f8a5f8f7e24bd450f3a2961b4e251570 (patch)
tree547ba49d95bb6bea07239c60ccfe849ef406b872 /gtk2_ardour/audio_time_axis.cc
parent88707bf3bbb9b2ac39fc1c5521a4c2ed9dc6eba4 (diff)
many changes related to region zooming; proto-visual state undo/redo stack; fill-tracks command steals "f" (follow-playhead now on shift-f
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3306 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/audio_time_axis.cc')
-rw-r--r--gtk2_ardour/audio_time_axis.cc11
1 files changed, 8 insertions, 3 deletions
diff --git a/gtk2_ardour/audio_time_axis.cc b/gtk2_ardour/audio_time_axis.cc
index a5b5c3e3a9..f47e0ec33f 100644
--- a/gtk2_ardour/audio_time_axis.cc
+++ b/gtk2_ardour/audio_time_axis.cc
@@ -160,12 +160,15 @@ AudioTimeAxisView::hide ()
TimeAxisView::hide ();
}
-void
+int
AudioTimeAxisView::set_state (const XMLNode& node)
{
const XMLProperty *prop;
-
- TimeAxisView::set_state (node);
+ int ret;
+
+ if ((ret = TimeAxisView::set_state (node)) != 0) {
+ return ret;
+ }
if ((prop = node.property ("shown_editor")) != 0) {
if (prop->value() == "no") {
@@ -210,6 +213,8 @@ AudioTimeAxisView::set_state (const XMLNode& node)
continue;
}
}
+
+ return 0;
}
void