From cd10162199173bdbde52977bca2a56d256ea8b65 Mon Sep 17 00:00:00 2001 From: Tim Mayberry Date: Sat, 26 Nov 2005 12:00:24 +0000 Subject: [PATCH] Canvas GObject fixes git-svn-id: svn://localhost/trunk/ardour2@120 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/simpleline.cc | 4 ++-- gtk2_ardour/waveview.cc | 40 +++++++++++++++++++-------------------- 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/gtk2_ardour/simpleline.cc b/gtk2_ardour/simpleline.cc index f0ef072ad6..4a50ccb4aa 100644 --- a/gtk2_ardour/simpleline.cc +++ b/gtk2_ardour/simpleline.cc @@ -137,12 +137,12 @@ GType SimpleLine::get_base_type() 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() diff --git a/gtk2_ardour/waveview.cc b/gtk2_ardour/waveview.cc index d043a952c0..05cc97701d 100644 --- a/gtk2_ardour/waveview.cc +++ b/gtk2_ardour/waveview.cc @@ -134,11 +134,11 @@ WaveView::create_cache () Glib::PropertyProxy WaveView::property_data_src() { - return Glib::PropertyProxy (this, "data-src"); + return Glib::PropertyProxy (this, "data_src"); } Glib::PropertyProxy_ReadOnly WaveView::property_data_src() const { - return Glib::PropertyProxy_ReadOnly (this, "data-src"); + return Glib::PropertyProxy_ReadOnly (this, "data_src"); } Glib::PropertyProxy WaveView::property_channel() { @@ -150,43 +150,43 @@ Glib::PropertyProxy_ReadOnly WaveView::property_channel() const } Glib::PropertyProxy WaveView::property_length_function() { - return Glib::PropertyProxy (this, "length-function"); + return Glib::PropertyProxy (this, "length_function"); } Glib::PropertyProxy_ReadOnly WaveView::property_length_function() const { - return Glib::PropertyProxy_ReadOnly (this, "length-function"); + return Glib::PropertyProxy_ReadOnly (this, "length_function"); } Glib::PropertyProxy WaveView::property_sourcefile_length_function() { - return Glib::PropertyProxy (this, "sourcefile-length-function"); + return Glib::PropertyProxy (this, "sourcefile_length_function"); } Glib::PropertyProxy_ReadOnly WaveView::property_sourcefile_length_function() const { - return Glib::PropertyProxy_ReadOnly (this, "sourcefile-length-function"); + return Glib::PropertyProxy_ReadOnly (this, "sourcefile_length_function"); } Glib::PropertyProxy WaveView::property_peak_function() { - return Glib::PropertyProxy (this, "peak-function"); + return Glib::PropertyProxy (this, "peak_function"); } Glib::PropertyProxy_ReadOnly WaveView::property_peak_function() const { - return Glib::PropertyProxy_ReadOnly (this, "peak-function"); + return Glib::PropertyProxy_ReadOnly (this, "peak_function"); } Glib::PropertyProxy WaveView::property_gain_function() { - return Glib::PropertyProxy (this, "gain-function"); + return Glib::PropertyProxy (this, "gain_function"); } Glib::PropertyProxy_ReadOnly WaveView::property_gain_function() const { - return Glib::PropertyProxy_ReadOnly (this, "gain-function"); + return Glib::PropertyProxy_ReadOnly (this, "gain_function"); } Glib::PropertyProxy WaveView::property_gain_src() { - return Glib::PropertyProxy (this, "gain-src"); + return Glib::PropertyProxy (this, "gain_src"); } Glib::PropertyProxy_ReadOnly WaveView::property_gain_src() const { - return Glib::PropertyProxy_ReadOnly (this, "gain-src"); + return Glib::PropertyProxy_ReadOnly (this, "gain_src"); } Glib::PropertyProxy WaveView::property_cache() { @@ -198,27 +198,27 @@ Glib::PropertyProxy_ReadOnly WaveView::property_cache() const } Glib::PropertyProxy WaveView::property_cache_updater() { - return Glib::PropertyProxy (this, "cache-updater"); + return Glib::PropertyProxy (this, "cache_updater"); } Glib::PropertyProxy_ReadOnly WaveView::property_cache_updater() const { - return Glib::PropertyProxy_ReadOnly (this, "cache-updater"); + return Glib::PropertyProxy_ReadOnly (this, "cache_updater"); } Glib::PropertyProxy WaveView::property_samples_per_unit() { - return Glib::PropertyProxy (this, "samples-per-unit"); + return Glib::PropertyProxy (this, "samples_per_unit"); } Glib::PropertyProxy_ReadOnly WaveView::property_samples_per_unit() const { - return Glib::PropertyProxy_ReadOnly (this, "samples-per-unit"); + return Glib::PropertyProxy_ReadOnly (this, "samples_per_unit"); } Glib::PropertyProxy WaveView::property_amplitude_above_axis() { - return Glib::PropertyProxy (this, "amplitude-above-axis"); + return Glib::PropertyProxy (this, "amplitude_above_axis"); } Glib::PropertyProxy_ReadOnly WaveView::property_amplitude_above_axis() const { - return Glib::PropertyProxy_ReadOnly (this, "amplitude-above-axis"); + return Glib::PropertyProxy_ReadOnly (this, "amplitude_above_axis"); } Glib::PropertyProxy WaveView::property_x() { @@ -262,11 +262,11 @@ Glib::PropertyProxy_ReadOnly WaveView::property_rectified() const } Glib::PropertyProxy WaveView::property_region_start() { - return Glib::PropertyProxy (this, "region-start"); + return Glib::PropertyProxy (this, "region_start"); } Glib::PropertyProxy_ReadOnly WaveView::property_region_start() const { - return Glib::PropertyProxy_ReadOnly (this, "region-start"); + return Glib::PropertyProxy_ReadOnly (this, "region_start"); } } // namespace Canvas