diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2023-08-30 13:38:18 +0400 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2023-09-04 14:57:44 +0400 |
commit | 9db018ac56119ee8e0a87a1a340276e4c8d86392 (patch) | |
tree | 37f7b15625b946966332d6c8ea515b9f64bf24a1 /ui/gtk.c | |
parent | 32aa1f8dee3b2e8a4606bc2836a022f1ff5e7f0c (diff) | |
download | qemu-9db018ac56119ee8e0a87a1a340276e4c8d86392.zip qemu-9db018ac56119ee8e0a87a1a340276e4c8d86392.tar.gz qemu-9db018ac56119ee8e0a87a1a340276e4c8d86392.tar.bz2 |
ui/vc: change the argument for QemuTextConsole
Those functions are specifc to text/vc console, make that explicit from
the argument type.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20230830093843.3531473-45-marcandre.lureau@redhat.com>
Diffstat (limited to 'ui/gtk.c')
-rw-r--r-- | ui/gtk.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1187,7 +1187,7 @@ static gboolean gd_text_key_down(GtkWidget *widget, GdkEventKey *key, void *opaque) { VirtualConsole *vc = opaque; - QemuConsole *con = vc->gfx.dcl.con; + QemuTextConsole *con = QEMU_TEXT_CONSOLE(vc->gfx.dcl.con); if (key->keyval == GDK_KEY_Delete) { kbd_put_qcode_console(con, Q_KEY_CODE_DELETE, false); |