Check for spice-gtk 0.26 instead of a git snapshot of 0.25

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.
This commit is contained in:
Daniel P. Berrange
2014-10-27 17:40:04 +01:00
committed by Fabiano Fidêncio
parent 161de0fd32
commit b94859e30d

View File

@ -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,