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:
Daniel P. Berrangé 2021-04-06 11:19:32 +01:00
parent 15fbaa3fb4
commit 3125e8f507

View File

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