summaryrefslogtreecommitdiffstats
path: root/carbon/tkMacOSXKeyboard.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-06-08 22:47:55 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-06-08 22:47:55 (GMT)
commit03c0942611154d629e8bc86b8c04bee84d856647 (patch)
tree8085e4e968c883798ec985c45f94065fe230ee15 /carbon/tkMacOSXKeyboard.c
parent1c55338a832a8755e53647731572395b113824df (diff)
parentedda8b98be9e2a87f39bd513bf24636918702552 (diff)
downloadtk-03c0942611154d629e8bc86b8c04bee84d856647.zip
tk-03c0942611154d629e8bc86b8c04bee84d856647.tar.gz
tk-03c0942611154d629e8bc86b8c04bee84d856647.tar.bz2
Change XChangeWindowAttributes signature and many others to match Xorg, needed for Cygwin
Diffstat (limited to 'carbon/tkMacOSXKeyboard.c')
-rw-r--r--carbon/tkMacOSXKeyboard.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/carbon/tkMacOSXKeyboard.c b/carbon/tkMacOSXKeyboard.c
index 4e35db6..00e73f6 100644
--- a/carbon/tkMacOSXKeyboard.c
+++ b/carbon/tkMacOSXKeyboard.c
@@ -392,7 +392,7 @@ XGetModifierMapping(
*----------------------------------------------------------------------
*/
-void
+int
XFreeModifiermap(
XModifierKeymap *modmap)
{
@@ -400,6 +400,7 @@ XFreeModifiermap(
ckfree(modmap->modifiermap);
}
ckfree(modmap);
+ return Success;
}
/*