show what PresentationInfo::Change is being used for
This commit is contained in:
parent
155b1dc4c8
commit
4821def173
|
@ -26,6 +26,7 @@
|
|||
#include "pbd/enumwriter.h"
|
||||
#include "pbd/error.h"
|
||||
#include "pbd/failed_constructor.h"
|
||||
#include "pbd/stacktrace.h"
|
||||
#include "pbd/xml++.h"
|
||||
|
||||
#include "ardour/presentation_info.h"
|
||||
|
@ -66,9 +67,18 @@ PresentationInfo::unsuspend_change_signal ()
|
|||
*/
|
||||
|
||||
if (g_atomic_int_dec_and_test (const_cast<gint*> (&_change_signal_suspended))) {
|
||||
if (!pc.empty()) {
|
||||
_pending_static_changes.clear ();
|
||||
|
||||
std::cerr << "PI change (unsuspended): ";
|
||||
for (PropertyChange::const_iterator x = pc.begin(); x != pc.end(); ++x) {
|
||||
std::cerr << g_quark_to_string (*x) << ',';
|
||||
}
|
||||
std::cerr << '\n';
|
||||
|
||||
Change (pc); /* EMIT SIGNAL */
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -83,6 +93,12 @@ PresentationInfo::send_static_change (const PropertyChange& what_changed)
|
|||
return;
|
||||
}
|
||||
|
||||
std::cerr << "PI change (direct): ";
|
||||
for (PropertyChange::const_iterator x = what_changed.begin(); x != what_changed.end(); ++x) {
|
||||
std::cerr << g_quark_to_string (*x) << ',';
|
||||
}
|
||||
std::cerr << '\n';
|
||||
|
||||
Change (what_changed);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user