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>
Daniel P. Berrangé
3 years ago
1 changed file(s) with
1 addition(s)
and
1 deletion(s)
.
Raw diff
Collapse all
Expand all
+1
-1
src/virt-viewer-session-vnc.c
less
more
38
38
#ifndef VNC_CHECK_VERSION
39
39
# define VNC_CHECK_VERSION(a, b, c) 0
40
40
#endif
41
#if VNC_CHECK_VERSION(2, 0, 0)
41
#if VNC_CHECK_VERSION(1, 2, 0)
42
42
# define HAVE_VNC_POWER_CONTROL
43
43
#endif
44
44