summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXXStubs.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-06-05 04:46:39 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-06-05 04:46:39 (GMT)
commitbffdf13f31774677807ea594324f7a8964a1ee10 (patch)
tree4b1b6848a2a8f1b3f66d319e784c6d08ddc042ab /macosx/tkMacOSXXStubs.c
parent91ae12c773a03fe4533d19a6d115deb6a4c95351 (diff)
parente35d614587b25a1a03ededdf2d04bcbfca86be70 (diff)
downloadtk-bffdf13f31774677807ea594324f7a8964a1ee10.zip
tk-bffdf13f31774677807ea594324f7a8964a1ee10.tar.gz
tk-bffdf13f31774677807ea594324f7a8964a1ee10.tar.bz2
Change XSetDashes signature and many others to match Xorg, needed for Cygwin
Diffstat (limited to 'macosx/tkMacOSXXStubs.c')
-rw-r--r--macosx/tkMacOSXXStubs.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/macosx/tkMacOSXXStubs.c b/macosx/tkMacOSXXStubs.c
index a09501b..6788bfd 100644
--- a/macosx/tkMacOSXXStubs.c
+++ b/macosx/tkMacOSXXStubs.c
@@ -469,12 +469,13 @@ XSelectInput(
Debugger();
}
-void
+int
XBell(
Display* display,
int percent)
{
SysBeep(percent);
+ return Success;
}
#if 0
@@ -554,7 +555,7 @@ XDrawPoints(
}
*/
-void
+int
XWarpPointer(
Display* display,
Window src_w,
@@ -566,6 +567,7 @@ XWarpPointer(
int dest_x,
int dest_y)
{
+ return Success;
}
void