void
Content::signal_changed (int p)
{
- emit (boost::bind (boost::ref (Changed), shared_from_this (), p, _change_signals_frequent));
+ try {
+ emit (boost::bind (boost::ref (Changed), shared_from_this (), p, _change_signals_frequent));
+ changed (p);
+ } catch (boost::bad_weak_ptr) {
+ /* This must be during construction; never mind */
+ }
}
void
}
/** @return a list of properties that might be interesting to the user */
-list<Content::UserProperty>
+list<UserProperty>
Content::user_properties () const
{
list<UserProperty> p;