X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fsimpleline.cc;h=6c8c4ceb1025350c691c150a123979197eb63b19;hb=3a5474072c7002234fab88bfbad9cd5e7d2bb021;hp=ff5a873a9b169e1ff0813cd85cd3f0c3fd1eae18;hpb=192c6a9c1619de657602f385f92537e3c7ea5722;p=ardour.git diff --git a/gtk2_ardour/simpleline.cc b/gtk2_ardour/simpleline.cc index ff5a873a9b..6c8c4ceb10 100644 --- a/gtk2_ardour/simpleline.cc +++ b/gtk2_ardour/simpleline.cc @@ -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 SimpleLine::property_color_rgba() +Glib::PropertyProxy SimpleLine::property_color_rgba() { - return Glib::PropertyProxy(this, "color-rgba"); + return Glib::PropertyProxy(this, "color_rgba"); } Glib::PropertyProxy_ReadOnly SimpleLine::property_color_rgba() const { - return Glib::PropertyProxy_ReadOnly(this, "color-rgba"); + return Glib::PropertyProxy_ReadOnly(this, "color_rgba"); } -Glib::PropertyProxy SimpleLine::property_x1() +Glib::PropertyProxy SimpleLine::property_x1() { return Glib::PropertyProxy(this, "x1"); } @@ -155,7 +154,7 @@ Glib::PropertyProxy_ReadOnly SimpleLine::property_x1() const return Glib::PropertyProxy_ReadOnly(this, "x1"); } -Glib::PropertyProxy SimpleLine::property_x2() +Glib::PropertyProxy SimpleLine::property_x2() { return Glib::PropertyProxy(this, "x2"); } @@ -165,7 +164,7 @@ Glib::PropertyProxy_ReadOnly SimpleLine::property_x2() const return Glib::PropertyProxy_ReadOnly(this, "x2"); } -Glib::PropertyProxy SimpleLine::property_y1() +Glib::PropertyProxy SimpleLine::property_y1() { return Glib::PropertyProxy(this, "y1"); } @@ -175,7 +174,7 @@ Glib::PropertyProxy_ReadOnly SimpleLine::property_y1() const return Glib::PropertyProxy_ReadOnly(this, "y1"); } -Glib::PropertyProxy SimpleLine::property_y2() +Glib::PropertyProxy SimpleLine::property_y2() { return Glib::PropertyProxy(this, "y2"); }