aboutsummaryrefslogtreecommitdiff
path: root/ui/keymaps.h
diff options
context:
space:
mode:
authorFei Li <fli@suse.com>2018-10-17 10:26:50 +0200
committerMarkus Armbruster <armbru@redhat.com>2018-10-19 14:51:34 +0200
commitab4f931e9f0a6e1c6dd6ecd79118efca418d941f (patch)
tree7382bed3a18cadae968e92a999703b6c89cd8f99 /ui/keymaps.h
parentf7b9e299a44343115148246b4de53fb3ac6e7b22 (diff)
ui: Convert vnc_display_init(), init_keyboard_layout() to Error
Signed-off-by: Fei Li <fli@suse.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20181017082702.5581-27-armbru@redhat.com> Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'ui/keymaps.h')
-rw-r--r--ui/keymaps.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/keymaps.h b/ui/keymaps.h
index 0693588225..98213a4191 100644
--- a/ui/keymaps.h
+++ b/ui/keymaps.h
@@ -53,7 +53,7 @@ typedef struct {
typedef struct kbd_layout_t kbd_layout_t;
kbd_layout_t *init_keyboard_layout(const name2keysym_t *table,
- const char *language);
+ const char *language, Error **errp);
int keysym2scancode(kbd_layout_t *k, int keysym,
bool shift, bool altgr, bool ctrl);
int keycode_is_keypad(kbd_layout_t *k, int keycode);