remove debugging output

This commit is contained in:
Paul Davis 2013-04-10 10:53:21 -04:00
parent 1cb9779401
commit a1745f2cf1
2 changed files with 4 additions and 5 deletions

View File

@ -334,7 +334,7 @@ Marker::setup_line ()
_line = new ArdourCanvas::Line (group);
_line->set_outline_color (ARDOUR_UI::config()->canvasvar_EditPoint.get());
_line->Event.connect (sigc::bind (sigc::mem_fun (editor, &PublicEditor::canvas_marker_event), mark, this));
_line->Event.connect (sigc::bind (sigc::mem_fun (editor, &PublicEditor::canvas_marker_event), group, this));
}
/* work out where to start the line from so that it extends from the top of the canvas */
@ -369,7 +369,7 @@ Marker::canvas_height_set (double h)
ArdourCanvas::Item&
Marker::the_item() const
{
return *mark;
return *group;
}
void
@ -512,7 +512,7 @@ TempoMarker::TempoMarker (PublicEditor& editor, ArdourCanvas::Group& parent, gui
_tempo (temp)
{
set_position (_tempo.frame());
group->Event.connect (sigc::bind (sigc::mem_fun (editor, &PublicEditor::canvas_tempo_marker_event), mark, this));
group->Event.connect (sigc::bind (sigc::mem_fun (editor, &PublicEditor::canvas_tempo_marker_event), group, this));
}
TempoMarker::~TempoMarker ()
@ -527,7 +527,7 @@ MeterMarker::MeterMarker (PublicEditor& editor, ArdourCanvas::Group& parent, gui
_meter (m)
{
set_position (_meter.frame());
group->Event.connect (sigc::bind (sigc::mem_fun (editor, &PublicEditor::canvas_meter_marker_event), mark, this));
group->Event.connect (sigc::bind (sigc::mem_fun (editor, &PublicEditor::canvas_meter_marker_event), group, this));
}
MeterMarker::~MeterMarker ()

View File

@ -18,7 +18,6 @@ RootGroup::compute_bounding_box () const
Group::compute_bounding_box ();
if (_bounding_box) {
cerr << "!!!!! requesting canvas size " << _bounding_box.get() << endl;
_canvas->request_size (Duple (_bounding_box.get().width (), _bounding_box.get().height ()));
}
}