Re: [Spice-devel] [PATCH spice-gtk 1/2] build: fix build with glib < 2.32

2012-03-17 Thread Hans de Goede
Ack series. On 03/16/2012 05:13 PM, Marc-André Lureau wrote: Using GMutex as a static mutex is only possible since 2.32. --- gtk/spice-channel-priv.h |8 +++- gtk/spice-channel.c | 20 ++-- gtk/spice-util-priv.h| 14 ++ 3 files changed, 31 in

Re: [Spice-devel] [PATCH spice-gtk 1/2] build: fix build with glib < 2.32

2012-03-16 Thread Marc-André Lureau
hi On Fri, Mar 16, 2012 at 5:13 PM, Marc-André Lureau wrote: > +#if GLIB_CHECK_VERSION(2,32,0) > +#define g_mutex_lock(m) g_mutex_lock(&(m)) > +#else > +#endif Oh, this is a leftover, I cleaned it up. -- Marc-André Lureau ___ Spice-devel mailing lis

[Spice-devel] [PATCH spice-gtk 1/2] build: fix build with glib < 2.32

2012-03-16 Thread Marc-André Lureau
Using GMutex as a static mutex is only possible since 2.32. --- gtk/spice-channel-priv.h |8 +++- gtk/spice-channel.c | 20 ++-- gtk/spice-util-priv.h| 14 ++ 3 files changed, 31 insertions(+), 11 deletions(-) diff --git a/gtk/spice-channel-priv.h