modify Selection API to provide (default-valued) "with_signal" argument to all :...
authorPaul Davis <paul@linuxaudiosystems.com>
Fri, 29 Jan 2016 21:05:03 +0000 (16:05 -0500)
committerPaul Davis <paul@linuxaudiosystems.com>
Fri, 29 Jan 2016 21:15:41 +0000 (16:15 -0500)
commitfbe236999d48e592c3de7ce7450077593ccc3ce8
treeeb21c52b3caa1c85436c577d2b39d2621bffc526
parent9fe4b7a92a03d934691d9c2f8d4f0014520e5e0f
modify Selection API to provide (default-valued) "with_signal" argument to all ::clear_*() methods

This allows the clear methods to be used before calling ::add(), to avoid the
emission of a signal saying "there are no <foo> selected right now".

There should be no side-effects from this commit.

Note that correct use of this new API is complex, and requires avoiding the use
of wrapper methods like clear_objects().
gtk2_ardour/selection.cc
gtk2_ardour/selection.h