diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2005-11-28 22:36:26 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2005-11-28 22:36:26 +0000 |
commit | 2b49b2433b6dc06a52b0848af62373c747f18ac9 (patch) | |
tree | 10456e452edb340f68a1229afa5af9aadd3ba11b /gtk2_ardour/automation_line.cc | |
parent | d6a27c9537926e4ec7bd3371da97a2d1f85b6e86 (diff) |
mega commit to remove gtk_object cruft, and much other stuff
git-svn-id: svn://localhost/trunk/ardour2@139 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/automation_line.cc')
-rw-r--r-- | gtk2_ardour/automation_line.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gtk2_ardour/automation_line.cc b/gtk2_ardour/automation_line.cc index bf75edb461..dd3c14a23f 100644 --- a/gtk2_ardour/automation_line.cc +++ b/gtk2_ardour/automation_line.cc @@ -105,7 +105,7 @@ ControlPoint::ControlPoint (const ControlPoint& other, bool dummy_arg_to_force_s ControlPoint::~ControlPoint () { - gtk_object_destroy (GTK_OBJECT(item)); + delete item; } bool @@ -246,8 +246,7 @@ AutomationLine::AutomationLine (string name, TimeAxisView& tv, ArdourCanvas::Gro AutomationLine::~AutomationLine () { vector_delete (&control_points); - - gtk_object_destroy (GTK_OBJECT(group)); + delete group; } bool |