summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2010-12-20 16:10:58 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2010-12-20 16:10:58 +0000
commite178fb2e503245335d00c22949969fa4187250b7 (patch)
tree41192fb2784031f4a60618e85de674dd8ac47368 /libs
parent0945b969861e71110591e21b977a251295c31b88 (diff)
add notification of what was changed in Stateful::post_set() call
git-svn-id: svn://localhost/ardour2/branches/3.0@8306 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rw-r--r--libs/pbd/pbd/stateful.h2
-rw-r--r--libs/pbd/stateful.cc4
2 files changed, 3 insertions, 3 deletions
diff --git a/libs/pbd/pbd/stateful.h b/libs/pbd/pbd/stateful.h
index e8ced2c2f0..80a5a2f75f 100644
--- a/libs/pbd/pbd/stateful.h
+++ b/libs/pbd/pbd/stateful.h
@@ -101,7 +101,7 @@ class Stateful {
of property values after either a PropertyList or XML
driven property change.
*/
- virtual void post_set () { };
+ virtual void post_set (const PropertyChange&) { };
XMLNode *_extra_xml;
XMLNode *_instant_xml;
diff --git a/libs/pbd/stateful.cc b/libs/pbd/stateful.cc
index c33418ce39..8ee587fbc6 100644
--- a/libs/pbd/stateful.cc
+++ b/libs/pbd/stateful.cc
@@ -193,7 +193,7 @@ Stateful::set_values (XMLNode const & node)
}
}
- post_set ();
+ post_set (c);
return c;
}
@@ -227,7 +227,7 @@ Stateful::apply_changes (const PropertyList& property_list)
}
}
- post_set ();
+ post_set (c);
send_change (c);