]> git.proxmox.com Git - mirror_qemu.git/commit - ui/gtk.c
console/gtk: add qemu_console_get_label
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 17 Feb 2015 09:41:08 +0000 (10:41 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 22 Apr 2015 11:21:16 +0000 (13:21 +0200)
commit779ce88fbd3f977112bc77ccb028b0ace762105e
tree3d913e151e1c41be977928b6dfc4de603cd99986
parentf8c223f69ac58488ea830597281b7ddd33037c4c
console/gtk: add qemu_console_get_label

Add a new function to get a nice label for a given QemuConsole.
Drop the labeling code in gtk.c and use the new function instead.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
include/ui/console.h
ui/console.c
ui/gtk.c