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

Christophe Fergeau cfergeau at redhat.com
Thu Mar 13 13:54:18 UTC 2014


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.
Do you have commit access to virt-viewer.git?

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20140313/1d834f64/attachment.sig>


More information about the virt-tools-list mailing list