mirror of
https://gitlab.com/virt-viewer/virt-viewer.git
synced 2025-01-04 05:17:44 +03:00
src: fix version check for power control
The next gtk-vnc will be 1.2.0, not 2.0.0 Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
15fbaa3fb4
commit
3125e8f507
@ -39,7 +39,7 @@
|
||||
#ifndef VNC_CHECK_VERSION
|
||||
# define VNC_CHECK_VERSION(a, b, c) 0
|
||||
#endif
|
||||
#if VNC_CHECK_VERSION(2, 0, 0)
|
||||
#if VNC_CHECK_VERSION(1, 2, 0)
|
||||
# define HAVE_VNC_POWER_CONTROL
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user