summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXColor.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/tkMacOSXColor.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/tkMacOSXColor.c')
-rw-r--r--macosx/tkMacOSXColor.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/macosx/tkMacOSXColor.c b/macosx/tkMacOSXColor.c
index 359c8a6..4150846 100644
--- a/macosx/tkMacOSXColor.c
+++ b/macosx/tkMacOSXColor.c
@@ -713,14 +713,15 @@ XCreateColormap(
return index++;
}
-void
+int
XFreeColormap(
Display* display, /* Display. */
Colormap colormap) /* Colormap. */
{
+ return Success;
}
-void
+int
XFreeColors(
Display* display, /* Display. */
Colormap colormap, /* Colormap. */
@@ -733,4 +734,5 @@ XFreeColors(
* needs to be done to release colors as there really is
* no colormap in the Tk sense.
*/
+ return Success;
}