[Spice-devel] [PATCH spice-server 0/4] Refactor RedChannel ClientCbs

Jonathon Jongsma jjongsma at redhat.com
Tue Aug 29 22:28:05 UTC 2017


This is an alternate proposal to the patch Frediano sent recently which
includes the data argument in the ClientCbs struct and removes the
g_object_get|set_data() calls.

This series also removes the GObject data stuff, but also does some
deeper refactoring.

Jonathon Jongsma (4):
  red-worker: don't pass 'dispatcher' as data for ClientCbs
  red-qxl: remove use of g_object_get_data()
  Move Cursor and Display client cbs to channel file
  Convert ClientCbs to channel virtual functions

 server/common-graphics-channel.c |   1 -
 server/cursor-channel.c          |  63 +++++++++++++++++++
 server/display-channel.c         |  69 +++++++++++++++++++++
 server/inputs-channel.c          |  11 ++--
 server/main-channel-client.c     |   8 ---
 server/main-channel-client.h     |   1 -
 server/main-channel.c            |  13 ++--
 server/red-channel.c             |  54 +++++++---------
 server/red-channel.h             |  25 ++++----
 server/red-qxl.c                 | 129 +--------------------------------------
 server/red-worker.c              |  11 +---
 server/red-worker.h              |   4 +-
 server/smartcard.c               |   6 +-
 server/sound.c                   |  21 +++----
 server/spicevmc.c                |   7 +--
 15 files changed, 196 insertions(+), 227 deletions(-)

-- 
2.13.3



More information about the Spice-devel mailing list