diff options
author | inmarket <andrewh@inmarket.com.au> | 2015-11-25 07:29:34 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2015-11-25 07:29:34 +1000 |
commit | e5ec9415d1060010f45878a2f86afe0d942bbb74 (patch) | |
tree | fa3eb816e1df09efc7fbd7ecac5e586e86a4908a /src/gwin | |
parent | 24ba58e612c770e052fa82a6cc290dc427df7820 (diff) | |
download | uGFX-e5ec9415d1060010f45878a2f86afe0d942bbb74.tar.gz uGFX-e5ec9415d1060010f45878a2f86afe0d942bbb74.tar.bz2 uGFX-e5ec9415d1060010f45878a2f86afe0d942bbb74.zip |
Warning removal as supplied by woodstck
Diffstat (limited to 'src/gwin')
-rw-r--r-- | src/gwin/gwin_keyboard.c | 2 | ||||
-rw-r--r-- | src/gwin/gwin_keyboard.h | 2 |
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 |