Warning removal as supplied by woodstck
This commit is contained in:
parent
24ba58e612
commit
e5ec9415d1
2 changed files with 2 additions and 2 deletions
|
@ -364,7 +364,7 @@ GSourceHandle gwinKeyboardGetEventSource(GHandle gh) {
|
||||||
return (GSourceHandle)gh;
|
return (GSourceHandle)gh;
|
||||||
}
|
}
|
||||||
|
|
||||||
void gwinKeyboardSetLayout(GHandle gh, struct GVKeyTable *layout) {
|
void gwinKeyboardSetLayout(GHandle gh, const struct GVKeyTable *layout) {
|
||||||
#define gk ((GKeyboardObject *)gh)
|
#define gk ((GKeyboardObject *)gh)
|
||||||
|
|
||||||
if (gh->vmt != (gwinVMT *)&keyboardVMT)
|
if (gh->vmt != (gwinVMT *)&keyboardVMT)
|
||||||
|
|
|
@ -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
|
* @note Changing the layout resets the keyboard to key set 0 of the keyboard and cancels any
|
||||||
* pending shifts.
|
* pending shifts.
|
||||||
*/
|
*/
|
||||||
void gwinKeyboardSetLayout(GHandle gh, struct GVKeyTable *layout);
|
void gwinKeyboardSetLayout(GHandle gh, const struct GVKeyTable *layout);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @defgroup Renderings_Keyboard Renderings
|
* @defgroup Renderings_Keyboard Renderings
|
||||||
|
|
Loading…
Add table
Reference in a new issue