aboutsummaryrefslogtreecommitdiffstats
path: root/src/gwin/gwin_keyboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gwin/gwin_keyboard.c')
-rw-r--r--src/gwin/gwin_keyboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gwin/gwin_keyboard.c b/src/gwin/gwin_keyboard.c
index 7080cd5d..59befa3f 100644
--- a/src/gwin/gwin_keyboard.c
+++ b/src/gwin/gwin_keyboard.c
@@ -364,7 +364,7 @@ GSourceHandle gwinKeyboardGetEventSource(GHandle gh) {
return (GSourceHandle)gh;
}
-void gwinKeyboardSetLayout(GHandle gh, struct GVKeyTable *layout) {
+void gwinKeyboardSetLayout(GHandle gh, const struct GVKeyTable *layout) {
#define gk ((GKeyboardObject *)gh)
if (gh->vmt != (gwinVMT *)&keyboardVMT)