Ghost/X11: correct function signature

This commit is contained in:
Campbell Barton 2018-08-08 17:54:41 +10:00
parent b496bf022b
commit 697d4b227e
1 changed files with 3 additions and 1 deletions

View File

@ -598,13 +598,15 @@ GHOST_WindowX11(GHOST_SystemX11 *system,
}
#if defined(WITH_X11_XINPUT) && defined(X_HAVE_UTF8_STRING)
static void destroyICCallback(XIC /*xic*/, XPointer ptr, XPointer /*data*/)
static Bool destroyICCallback(XIC /*xic*/, XPointer ptr, XPointer /*data*/)
{
GHOST_PRINT("XIM input context destroyed\n");
if (ptr) {
*(XIC *)ptr = NULL;
}
/* Ignored by X11. */
return True;
}
bool GHOST_WindowX11::createX11_XIC()