[virt-tools-list] [PATCH] [virt-viewer] Check for spice-gtk 0.26 instead of a git snapshot of 0.25

Marc-André Lureau mlureau at redhat.com
Mon Oct 27 16:52:36 UTC 2014


ack

----- Mail original -----
> From: "Daniel P. Berrange" <berrange at redhat.com>
> 
> As spice-gtk macro for checking the version numbers was broken, let's
> check for 0.26 and avoid to have virt-viewer broken on a few distros
> for a good long time.
> ---
>  src/virt-viewer-session-spice.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/virt-viewer-session-spice.c
> b/src/virt-viewer-session-spice.c
> index 4cd2ac8..effa4ec 100644
> --- a/src/virt-viewer-session-spice.c
> +++ b/src/virt-viewer-session-spice.c
> @@ -514,7 +514,7 @@ virt_viewer_session_spice_main_channel_event(SpiceChannel
> *channel G_GNUC_UNUSED
>          const GError *error = NULL;
>          g_debug("main channel: auth failure (wrong username/password?)");
>  
> -#if SPICE_GTK_CHECK_VERSION(0, 25, 46)
> +#if SPICE_GTK_CHECK_VERSION(0, 26, 0)
>          {
>              error = spice_channel_get_error(channel);
>              username_required = g_error_matches(error,
> --
> 2.1.0
> 
> _______________________________________________
> virt-tools-list mailing list
> virt-tools-list at redhat.com
> https://www.redhat.com/mailman/listinfo/virt-tools-list
> 




More information about the virt-tools-list mailing list