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>
This commit is contained in:
Marc-André Lureau 2024-10-08 16:50:23 +04:00
parent c118c8eb3e
commit 3a9d38d31e
1 changed files with 2 additions and 0 deletions

View File

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