fix cairo widget background
[ardour.git] / libs / canvas / poly_line.cc
index 08d611117f3bac05110f95dd6bb87d8e31d77922..60bca6bccf87011de9afbc28f6a12d679d49184f 100644 (file)
 
 using namespace ArdourCanvas;
 
-PolyLine::PolyLine (Group* parent)
-       : Item (parent)
-       , PolyItem (parent)
+PolyLine::PolyLine (Canvas* c)
+       : PolyItem (c)
        , _threshold (1.0)
 {
+}
 
+PolyLine::PolyLine (Item* parent)
+       : PolyItem (parent)
+       , _threshold (1.0)
+{
 }
 
 void