make autoscroll a bit easier to use, fix missing measure lines when moving the editor...
[ardour.git] / gtk2_ardour / simpleline.cc
index ff5a873a9b169e1ff0813cd85cd3f0c3fd1eae18..4a50ccb4aafae2a66f65c3128985ec98fc84f90d 100644 (file)
@@ -81,7 +81,7 @@ const Glib::Class& SimpleLine_Class::init()
     //CppClassParent::CppObjectType::get_type();
 
     // Create the wrapper type, with the same class/instance size as the base type.
-    register_derived_type(gnome_canvas_line_get_type());
+    register_derived_type(gnome_canvas_simpleline_get_type());
 
     // Add derived versions of interfaces, if the C type implements any interfaces:
   }
@@ -137,12 +137,12 @@ GType SimpleLine::get_base_type()
 
 Glib::PropertyProxy<guint> SimpleLine::property_color_rgba() 
 {
-  return Glib::PropertyProxy<guint>(this, "color-rgba");
+  return Glib::PropertyProxy<guint>(this, "color_rgba");
 }
 
 Glib::PropertyProxy_ReadOnly<guint> SimpleLine::property_color_rgba() const
 {
-  return Glib::PropertyProxy_ReadOnly<guint>(this, "color-rgba");
+  return Glib::PropertyProxy_ReadOnly<guint>(this, "color_rgba");
 }
 
 Glib::PropertyProxy<double> SimpleLine::property_x1()