merge from 2.0-ongoing @ 3581
[ardour.git] / gtk2_ardour / panner.cc
index 2607cdf2b85e3ac3f346acd05aead4f04fd0594e..975f1e6b3b66d17fefc36be3dd919af37542a689 100644 (file)
@@ -35,7 +35,7 @@ null_label_callback (char* buf, unsigned int bufsize)
 
 
 PannerBar::PannerBar (Gtk::Adjustment& adj, boost::shared_ptr<PBD::Controllable> c)
-       : BarController (adj, *c.get(), sigc::ptr_fun (null_label_callback))
+       : BarController (adj, c, sigc::ptr_fun (null_label_callback))
 {
        set_style (BarController::Line);
 }