summaryrefslogtreecommitdiff
path: root/libs/ardour/session_object.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-04-01 02:18:58 +0000
committerCarl Hetherington <carl@carlh.net>2010-04-01 02:18:58 +0000
commit2ad3940b5479c53f084769f8a1f9ade571f24155 (patch)
tree10e2defe4fa5f720bc8281975806b0e24287e212 /libs/ardour/session_object.cc
parentf08a4e014d30d37ed53cbc73e4d88981f59586d7 (diff)
Oops. Actually make new Properties changes work.
git-svn-id: svn://localhost/ardour2/branches/3.0@6822 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/session_object.cc')
-rw-r--r--libs/ardour/session_object.cc16
1 files changed, 0 insertions, 16 deletions
diff --git a/libs/ardour/session_object.cc b/libs/ardour/session_object.cc
index 3e71b6a73e..b85a145ac0 100644
--- a/libs/ardour/session_object.cc
+++ b/libs/ardour/session_object.cc
@@ -38,19 +38,3 @@ SessionObject::make_property_quarks ()
DEBUG_TRACE (DEBUG::Properties, string_compose ("quark for name = %1\n", Properties::name.property_id));
}
-bool
-SessionObject::set_property (const PropertyBase& prop)
-{
- if (prop == Properties::name.property_id) {
- std::string str = dynamic_cast<const PropertyTemplate<std::string>*>(&prop)->val();
- if (_name != str) {
- DEBUG_TRACE (DEBUG::Properties, string_compose ("session object named %1 renamed %2\n",
- _name.val(), str));
- _name = str;
- return true;
- }
- }
-
- return false;
-}
-