Re: [Spice-devel] [Spice-commits] 5 commits - client/display_channel.cpp server/red_worker.c server/spice.h

2012-09-07 Thread Hans de Goede
Hi, On 09/07/2012 06:09 PM, Søren Sandmann Pedersen wrote: client/display_channel.cpp |1 + server/red_worker.c| 31 +++ server/spice.h |5 - 3 files changed, 36 insertions(+), 1 deletion(-) New commits: commit 88283023a89b4ee21

[Spice-devel] [PATCH spice-gtk] G_GNUC_DEPRECATED_FOR must be defined publicly

2012-09-07 Thread Marc-André Lureau
It's not enough to define G_GNUC_DEPRECATED_FOR in glib-compat.h, since this header is not public. Instead, let's define our own public SPICE_DEPRECATED_FOR macro, and clean-up double definition. --- gtk/glib-compat.h | 16 gtk/spice-util.h | 12 +++- 2 files changed, 11

Re: [Spice-devel] [spice-gtk] Fix VD_AGENT_HAS_CAPABILITY use

2012-09-07 Thread Hans de Goede
Looks good, ack. On 09/07/2012 04:07 PM, Christophe Fergeau wrote: The 'size' argument to this macro (defined in spice-protocol/spice/vd_agent.h) is the number of 32 bit elements available in its first argument. In channel-main.c it's used most of the time with SpiceMainChannelPrivate::agent_cap

[Spice-devel] [spice-gtk] Fix VD_AGENT_HAS_CAPABILITY use

2012-09-07 Thread Christophe Fergeau
The 'size' argument to this macro (defined in spice-protocol/spice/vd_agent.h) is the number of 32 bit elements available in its first argument. In channel-main.c it's used most of the time with SpiceMainChannelPrivate::agent_caps which is an uint32_t[VD_AGENT_CAPS_SIZE]. The 'size' argument to pas