diff options
Diffstat (limited to 'src/propertywatchimpl.hpp')
-rw-r--r-- | src/propertywatchimpl.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/propertywatchimpl.hpp b/src/propertywatchimpl.hpp index 3ef5de5..43875b9 100644 --- a/src/propertywatchimpl.hpp +++ b/src/propertywatchimpl.hpp @@ -104,12 +104,12 @@ void PropertyWatch<DBusInterfaceType>::start() } template <typename DBusInterfaceType> -void PropertyWatch<DBusInterfaceType>::callback() +void PropertyWatch<DBusInterfaceType>::callback(Context ctx) { // Invoke callback if present. if (this->alreadyRan && this->cb) { - (*this->cb)(); + (*this->cb)(ctx); } } @@ -149,7 +149,7 @@ void PropertyWatchOfType<T, DBusInterfaceType>::propertiesChanged( std::get<2>(item->second).get() = p.second.template get<T>(); // Invoke callback if present. - this->callback(); + this->callback(Context::SIGNAL); } } |