aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2024-10-08 16:50:23 +0400
committerMarc-André Lureau <marcandre.lureau@redhat.com>2024-10-14 17:34:09 +0400
commit3a9d38d31ea7bf99c62c8d97433baa85b3bdd5c9 (patch)
tree4377b52208b33ceb37edf98fcea2594296d3b285
parentc118c8eb3e63c02421e8a02e82ffab6fa8369301 (diff)
downloadqemu-3a9d38d31ea7bf99c62c8d97433baa85b3bdd5c9.zip
qemu-3a9d38d31ea7bf99c62c8d97433baa85b3bdd5c9.tar.gz
qemu-3a9d38d31ea7bf99c62c8d97433baa85b3bdd5c9.tar.bz2
ui/dbus: make Listener.Win32.Map win32-specific
There are no types specific to Windows, so the code compiles on other platforms, but its useless on !Windows. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com> Message-ID: <20241008125028.1177932-15-marcandre.lureau@redhat.com>
-rw-r--r--ui/dbus-display1.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/dbus-display1.xml b/ui/dbus-display1.xml
index ce35d64..d5bb279 100644
--- a/ui/dbus-display1.xml
+++ b/ui/dbus-display1.xml
@@ -476,6 +476,7 @@
org.qemu.Display1.Listener on ``/org/qemu/Display1/Listener`` for Windows
specific shared memory scanouts.
-->
+ <?if $(env.HOST_OS) == windows?>
<interface name="org.qemu.Display1.Listener.Win32.Map">
<!--
ScanoutMap:
@@ -513,6 +514,7 @@
<arg type="i" name="height" direction="in"/>
</method>
</interface>
+ <?endif?>
<!--
org.qemu.Display1.Listener.Win32.D3d11: