summaryrefslogtreecommitdiff
path: root/gtk2_ardour/marker.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2013-04-04 18:45:27 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2013-04-04 18:45:27 -0400
commit19bd6419157119b976393a0c5966b4be4c962119 (patch)
treebf27f7ea6402f39a0f3744ed6b298d91ed7f7c0e /gtk2_ardour/marker.cc
parentaaea166135ace01709f7e0be64f40be80f4107ec (diff)
commit immediately post linking
Diffstat (limited to 'gtk2_ardour/marker.cc')
-rw-r--r--gtk2_ardour/marker.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk2_ardour/marker.cc b/gtk2_ardour/marker.cc
index ce21533af6..75919f339a 100644
--- a/gtk2_ardour/marker.cc
+++ b/gtk2_ardour/marker.cc
@@ -324,10 +324,10 @@ Marker::setup_line ()
if (_line == 0) {
- _line = new ArdourCanvas::Line (*group);
+ _line = new ArdourCanvas::Line (group);
_line->set_outline_color (ARDOUR_UI::config()->canvasvar_EditPoint.get());
- _line->signal_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), mark, this));
}
/* work out where to start the line from so that it extends from the top of the canvas */
@@ -405,10 +405,10 @@ Marker::setup_name_display ()
if (label_on_left ()) {
_name_background->set_x0 (name_pixbuf->position().x - 2);
- _name_background->property_x1() = name_pixbuf->position().x + name_width + _shift;
+ _name_background->set_x1 (name_pixbuf->position().x + name_width + _shift);
} else {
- _name_background->x0 (name_pixbuf->position().x - _label_offset + 2);
- _name_background->property_x1() = name_pixbuf->position().x + name_width;
+ _name_background->set_x0 (name_pixbuf->position().x - _label_offset + 2);
+ _name_background->set_x1 (name_pixbuf->position().x + name_width);
}
_name_background->set_y0 (0);