From e178fb2e503245335d00c22949969fa4187250b7 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 20 Dec 2010 16:10:58 +0000 Subject: [PATCH] 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 --- libs/pbd/pbd/stateful.h | 2 +- libs/pbd/stateful.cc | 4 ++-- 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);