[virt-tools-list] [virt-viewer PATCHv2] Fix building with older spice-gtk

Martin Kletzander mkletzan at redhat.com
Thu Mar 13 16:30:26 UTC 2014


On Thu, Mar 13, 2014 at 02:54:18PM +0100, Christophe Fergeau wrote:
> On Thu, Mar 13, 2014 at 11:39:48AM +0100, Martin Kletzander wrote:
> > Due to spice-gtk-0.23 missing SPICE_GTK_CHECK_VERSION macro, the
> > condition:
> >
> > causes the following error:
> >
> > virt-viewer-session-spice.c: In function 'virt_viewer_session_spice_main_channel_event':
> > virt-viewer-session-spice.c:525:64: error: missing binary operator before token "("
> >  #if defined(SPICE_GTK_CHECK_VERSION) && SPICE_GTK_CHECK_VERSION(0, 23, 21)
> >                                                                 ^
> > Also one more warning is fixed in this patch:
> >
> > virt-viewer-session-spice.c:476:19: warning: unused variable 'error'
> > [-Wunused-variable] const GError *error;
>
>
> ACK.

Thanks.

> Do you have commit access to virt-viewer.git?
>

No, I don't :(

Martin

> Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20140313/a1132c69/attachment.sig>


More information about the virt-tools-list mailing list