mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
ui: add more tracing for dbus
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-Id: <20240717171541.201525-2-marcandre.lureau@redhat.com>
This commit is contained in:
parent
b4189dbf80
commit
2e35439f25
4 changed files with 8 additions and 2 deletions
|
@ -141,6 +141,8 @@ dbus_clipboard_qemu_request(QemuClipboardInfo *info,
|
|||
const char *mimes[] = { MIME_TEXT_PLAIN_UTF8, NULL };
|
||||
size_t n;
|
||||
|
||||
trace_dbus_clipboard_qemu_request(type);
|
||||
|
||||
if (type != QEMU_CLIPBOARD_TYPE_TEXT) {
|
||||
/* unsupported atm */
|
||||
return;
|
||||
|
@ -305,6 +307,8 @@ dbus_clipboard_grab(
|
|||
return DBUS_METHOD_INVOCATION_HANDLED;
|
||||
}
|
||||
|
||||
trace_dbus_clipboard_grab(arg_selection, arg_serial);
|
||||
|
||||
if (s >= QEMU_CLIPBOARD_SELECTION__COUNT) {
|
||||
g_dbus_method_invocation_return_error(
|
||||
invocation,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue