diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2018-02-22 08:05:10 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2018-02-22 10:35:17 +0100 |
commit | d713e3fd4c1da510a31313e1d3cc51c89b8036f3 (patch) | |
tree | 608d9a5e64bc084674ea4fa4b643cc6ebe066e14 /ui/trace-events | |
parent | fe5fca9a03ee965e039b8f5c0475032c9f950185 (diff) |
keymap: use glib hash for kbd_layout_t
Drop home-grown lookup code, which is a strange mix of a lookup table
and a list. Use standard glib hash instead.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-id: 20180222070513.8740-3-kraxel@redhat.com
Diffstat (limited to 'ui/trace-events')
-rw-r--r-- | ui/trace-events | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/trace-events b/ui/trace-events index 34229e6747..861b68a305 100644 --- a/ui/trace-events +++ b/ui/trace-events @@ -78,7 +78,7 @@ qemu_spice_create_update(uint32_t left, uint32_t right, uint32_t top, uint32_t b # ui/keymaps.c keymap_parse(const char *file) "file %s" -keymap_add(const char *type, int sym, int code, const char *line) "%-6s sym=0x%04x code=0x%04x (line: %s)" +keymap_add(int sym, int code, const char *line) "sym=0x%04x code=0x%04x (line: %s)" keymap_unmapped(int sym) "sym=0x%04x" # ui/x_keymap.c |