mirror of
https://gitlab.com/virt-viewer/virt-viewer.git
synced 2025-08-25 21:49:22 +03:00
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:
committed by
Fabiano Fidêncio
parent
161de0fd32
commit
b94859e30d
@ -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,
|
||||
|
Reference in New Issue
Block a user