Hi, this patchset is supposed to be the start of tighter GLib and GTK+ integration in spice vdagent. The goal for the future is to replace X11-specific code with GTK/GLib. Main changes: - Use GLib's command line parser - Add SpiceVDAgent GObject - Replace main while-loop with GMainLoop Known limitations: - no SIGQUIT handeling Cheers, Jakub Janků Jakub Janků (5): Bump GLib version to 2.34 vdagent: remove fx_dir magic values vdagent: Introduce SpiceVDAgent object udscs: Add udscs_is_write_pending() vdagent: Use GMainLoop Victor Toso (6): vdagent: move file xfer initialization to a function vdagent: move file xfer finalize to a function vdagent: Use glib's commandline parser udscs: add userdata to read_callback vdagent: small refactor on udscs setup function udscs: allow fd control outside udscs Makefile.am | 3 + configure.ac | 3 +- src/udscs.c | 37 +++- src/udscs.h | 26 ++- src/vdagent/file-xfers.c | 29 +-- src/vdagent/vdagent.c | 478 +++++++++++++++++++++++++++++------------------ src/vdagent/vdagent.h | 67 +++++++ src/vdagent/x11-randr.c | 5 +- src/vdagent/x11.c | 29 +-- src/vdagentd/vdagentd.c | 7 +- 10 files changed, 458 insertions(+), 226 deletions(-) create mode 100644 src/vdagent/vdagent.h -- 2.13.5 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel