summaryrefslogtreecommitdiff
path: root/libs/ardour/session_object.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2010-03-02 00:00:00 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2010-03-02 00:00:00 +0000
commitdb8b575c30845bafc34b87bacd52129c95d1c478 (patch)
tree7a521b7795cc6cc4e41d717a0feabd1aefb83e1f /libs/ardour/session_object.cc
parent3540594dc53137eb9e857f9e3c1309382a6d7bef (diff)
the mega-properties/SequenceProperty patch. split is broken at present (right hand starts has start-in-source of zero)
git-svn-id: svn://localhost/ardour2/branches/3.0@6718 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/session_object.cc')
-rw-r--r--libs/ardour/session_object.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/libs/ardour/session_object.cc b/libs/ardour/session_object.cc
index b245b43ae5..3e71b6a73e 100644
--- a/libs/ardour/session_object.cc
+++ b/libs/ardour/session_object.cc
@@ -34,13 +34,14 @@ namespace ARDOUR {
void
SessionObject::make_property_quarks ()
{
- Properties::name.id = g_quark_from_static_string (X_("name"));
+ Properties::name.property_id = g_quark_from_static_string (X_("name"));
+ 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.id) {
+ 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",