ControlPoint::~ControlPoint ()
{
- gtk_object_destroy (GTK_OBJECT(item));
+ delete item;
}
bool
/*****/
-AutomationLine::AutomationLine (string name, TimeAxisView& tv, ArdourCanvas::Group& parent, AutomationList& al)
+AutomationLine::AutomationLine (stringcr_t name, TimeAxisView& tv, ArdourCanvas::Group& parent, AutomationList& al)
: trackview (tv),
_name (name),
alist (al),
line = new ArdourCanvas::Line (*group);
line->property_width_pixels() = (guint)1;
+ line->set_data ("line", this);
line->signal_event().connect (mem_fun (*this, &AutomationLine::event_handler));
AutomationLine::~AutomationLine ()
{
vector_delete (&control_points);
-
- gtk_object_destroy (GTK_OBJECT(group));
+ delete group;
}
bool