summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ghostregion.cc
diff options
context:
space:
mode:
authorKarsten Wiese <fzuuzf@googlemail.com>2005-11-27 20:07:16 +0000
committerKarsten Wiese <fzuuzf@googlemail.com>2005-11-27 20:07:16 +0000
commitaaa44a37aaf585b9bcd9268a9551a005e6269bdb (patch)
tree345310d08c2e948780b52c67efecdd423c31d9a7 /gtk2_ardour/ghostregion.cc
parentc74f6577e2466d24a74da3ba6a48e2a1957769c8 (diff)
convert property_foo().set_value(bar) to property_foo() = bar
git-svn-id: svn://localhost/trunk/ardour2@131 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/ghostregion.cc')
-rw-r--r--gtk2_ardour/ghostregion.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/ghostregion.cc b/gtk2_ardour/ghostregion.cc
index 9747332db6..0a001da0b6 100644
--- a/gtk2_ardour/ghostregion.cc
+++ b/gtk2_ardour/ghostregion.cc
@@ -42,7 +42,7 @@ void
GhostRegion::set_samples_per_unit (double spu)
{
for (vector<WaveView*>::iterator i = waves.begin(); i != waves.end(); ++i) {
- (*i)->property_samples_per_unit().set_value(spu);
+ (*i)->property_samples_per_unit() = spu;
}
}
@@ -64,8 +64,8 @@ GhostRegion::set_height ()
for (n = 0, i = waves.begin(); i != waves.end(); ++i, ++n) {
gdouble yoff = n * ht;
- (*i)->property_height().set_value(ht);
- (*i)->property_y().set_value(yoff);
+ (*i)->property_height() = ht;
+ (*i)->property_y() = yoff;
}
}