diff options
author | Hans Fugal <hans@fugal.net> | 2006-08-10 01:45:49 +0000 |
---|---|---|
committer | Hans Fugal <hans@fugal.net> | 2006-08-10 01:45:49 +0000 |
commit | 74b19eadfab8e57df2cb4270382efb453709dadd (patch) | |
tree | 441cf4a217541c200962e55f584113c4e6681efc /gtk2_ardour | |
parent | cd3f8dba11065da6933b8f361623612fa6be4145 (diff) |
Can pass a core to ardbg now. Fixed sometimes crash on saving history by
creating a memory leak(?) that will go away with the transition of XMLNode* to
shared_ptr<>. A few bits toward restoring history from XML.
git-svn-id: svn://localhost/ardour2/branches/undo@779 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour')
-rwxr-xr-x | gtk2_ardour/ardbg | 2 | ||||
-rw-r--r-- | gtk2_ardour/automation_line.cc | 7 |
2 files changed, 5 insertions, 4 deletions
diff --git a/gtk2_ardour/ardbg b/gtk2_ardour/ardbg index 267fdbae73..9d3f5bf6c7 100755 --- a/gtk2_ardour/ardbg +++ b/gtk2_ardour/ardbg @@ -1,3 +1,3 @@ #!/bin/sh source ardev_common.sh -exec gdb ./ardour.bin +exec gdb ./ardour.bin "$*" diff --git a/gtk2_ardour/automation_line.cc b/gtk2_ardour/automation_line.cc index 5c09ddd49b..f3e30c4523 100644 --- a/gtk2_ardour/automation_line.cc +++ b/gtk2_ardour/automation_line.cc @@ -1270,13 +1270,14 @@ AutomationLine::hide_all_but_selected_control_points () XMLNode &AutomationLine::get_state(void) { - // TODO - return alist.get_state(); + XMLNode *node = new XMLNode("AutomationLine"); + node->add_child_nocopy(alist.get_state()); + return *node; } int AutomationLine::set_state(const XMLNode &node) { // TODO - alist.set_state(node); + //alist.set_state(node); return 0; } |