new cs translation from Pavel Frich
[ardour.git] / gtk2_ardour / simpleline.cc
index ff5a873a9b169e1ff0813cd85cd3f0c3fd1eae18..6c8c4ceb1025350c691c150a123979197eb63b19 100644 (file)
@@ -3,7 +3,6 @@
 #include "simpleline.h"
 #include "simpleline_p.h"
 
-/* $Id$ */
 
 /* line.ccg
  *
@@ -81,7 +80,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:
   }
@@ -135,17 +134,17 @@ GType SimpleLine::get_base_type()
   return gnome_canvas_line_get_type();
 }
 
-Glib::PropertyProxy<guint> SimpleLine::property_color_rgba() 
+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() 
+Glib::PropertyProxy<double> SimpleLine::property_x1()
 {
   return Glib::PropertyProxy<double>(this, "x1");
 }
@@ -155,7 +154,7 @@ Glib::PropertyProxy_ReadOnly<double> SimpleLine::property_x1() const
   return Glib::PropertyProxy_ReadOnly<double>(this, "x1");
 }
 
-Glib::PropertyProxy<double> SimpleLine::property_x2() 
+Glib::PropertyProxy<double> SimpleLine::property_x2()
 {
   return Glib::PropertyProxy<double>(this, "x2");
 }
@@ -165,7 +164,7 @@ Glib::PropertyProxy_ReadOnly<double> SimpleLine::property_x2() const
   return Glib::PropertyProxy_ReadOnly<double>(this, "x2");
 }
 
-Glib::PropertyProxy<double> SimpleLine::property_y1() 
+Glib::PropertyProxy<double> SimpleLine::property_y1()
 {
   return Glib::PropertyProxy<double>(this, "y1");
 }
@@ -175,7 +174,7 @@ Glib::PropertyProxy_ReadOnly<double> SimpleLine::property_y1() const
   return Glib::PropertyProxy_ReadOnly<double>(this, "y1");
 }
 
-Glib::PropertyProxy<double> SimpleLine::property_y2() 
+Glib::PropertyProxy<double> SimpleLine::property_y2()
 {
   return Glib::PropertyProxy<double>(this, "y2");
 }