summaryrefslogtreecommitdiff
path: root/gtk2_ardour/waveview.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2005-11-26 00:06:46 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2005-11-26 00:06:46 +0000
commitf69abbff90ac8b8426bb0c6e02a7f4d4a3fd5e6d (patch)
tree3f694b5bb3cdee16813e224eb183a2435605fe78 /gtk2_ardour/waveview.cc
parent026f506bc6912f1374d21ccccf42542f749a6cb7 (diff)
compiles and runs, but crashes ... duh
git-svn-id: svn://localhost/trunk/ardour2@113 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/waveview.cc')
-rw-r--r--gtk2_ardour/waveview.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/gtk2_ardour/waveview.cc b/gtk2_ardour/waveview.cc
index 9c2fa409f6..d043a952c0 100644
--- a/gtk2_ardour/waveview.cc
+++ b/gtk2_ardour/waveview.cc
@@ -126,7 +126,7 @@ GType WaveView::get_base_type()
return gnome_canvas_waveview_get_type();
}
-void*
+GnomeCanvasWaveViewCache*
WaveView::create_cache ()
{
return gnome_canvas_waveview_cache_new ();
@@ -140,13 +140,13 @@ Glib::PropertyProxy_ReadOnly<void*> WaveView::property_data_src() const
{
return Glib::PropertyProxy_ReadOnly<void*> (this, "data-src");
}
-Glib::PropertyProxy<uint32_t*> WaveView::property_channel()
+Glib::PropertyProxy<uint32_t> WaveView::property_channel()
{
- return Glib::PropertyProxy<void*> (this, "channel");
+ return Glib::PropertyProxy<uint32_t> (this, "channel");
}
-Glib::PropertyProxy_ReadOnly<uint32_t*> WaveView::property_channel() const
+Glib::PropertyProxy_ReadOnly<uint32_t> WaveView::property_channel() const
{
- return Glib::PropertyProxy_ReadOnly<void*> (this, "channel");
+ return Glib::PropertyProxy_ReadOnly<uint32_t> (this, "channel");
}
Glib::PropertyProxy<void*> WaveView::property_length_function()
{
@@ -198,11 +198,11 @@ Glib::PropertyProxy_ReadOnly<void*> WaveView::property_cache() const
}
Glib::PropertyProxy<bool> WaveView::property_cache_updater()
{
- return Glib::PropertyProxy<void*> (this, "cache-updater");
+ return Glib::PropertyProxy<bool> (this, "cache-updater");
}
Glib::PropertyProxy_ReadOnly<bool> WaveView::property_cache_updater() const
{
- return Glib::PropertyProxy_ReadOnly<void*> (this, "cache-updater");
+ return Glib::PropertyProxy_ReadOnly<bool> (this, "cache-updater");
}
Glib::PropertyProxy<double> WaveView::property_samples_per_unit()
{