aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2015-11-25 07:29:34 +1000
committerinmarket <andrewh@inmarket.com.au>2015-11-25 07:29:34 +1000
commite5ec9415d1060010f45878a2f86afe0d942bbb74 (patch)
treefa3eb816e1df09efc7fbd7ecac5e586e86a4908a /src
parent24ba58e612c770e052fa82a6cc290dc427df7820 (diff)
downloaduGFX-e5ec9415d1060010f45878a2f86afe0d942bbb74.tar.gz
uGFX-e5ec9415d1060010f45878a2f86afe0d942bbb74.tar.bz2
uGFX-e5ec9415d1060010f45878a2f86afe0d942bbb74.zip
Warning removal as supplied by woodstck
Diffstat (limited to 'src')
-rw-r--r--src/gwin/gwin_keyboard.c2
-rw-r--r--src/gwin/gwin_keyboard.h2
2 files changed, 2 insertions, 2 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)
diff --git a/src/gwin/gwin_keyboard.h b/src/gwin/gwin_keyboard.h
index 347b4bb4..a09127bd 100644
--- a/src/gwin/gwin_keyboard.h
+++ b/src/gwin/gwin_keyboard.h
@@ -101,7 +101,7 @@ GSourceHandle gwinKeyboardGetEventSource(GHandle gh);
* @note Changing the layout resets the keyboard to key set 0 of the keyboard and cancels any
* pending shifts.
*/
-void gwinKeyboardSetLayout(GHandle gh, struct GVKeyTable *layout);
+void gwinKeyboardSetLayout(GHandle gh, const struct GVKeyTable *layout);
/**
* @defgroup Renderings_Keyboard Renderings