Warning removal as supplied by woodstck

ugfx_release_2.6
inmarket 2015-11-25 07:29:34 +10:00
parent 24ba58e612
commit e5ec9415d1
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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