ack.
Notice that basically handle_msg of all the channels does the same,
expect it uses different msg handlers. It would have been cleaner to use
one handle_msg routine, and different msg handlers. Then, instead of
checking disable_channel_msg for each msg, we could just set the
msg_handlers
Allow to disable selectively channels, mainly used for testing,
ex: SPICE_DISABLE_CHANNELS=display spicy-stats -p 12345
---
gtk/channel-display.c| 4 ++--
gtk/spice-channel-priv.h | 2 ++
gtk/spice-channel.c | 14 --
3 files changed, 16 insertions(+), 4 deletions(-)
diff