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)
commitc21d43b1a96fda8597f9838f90c33efdd6447a7f (patch)
tree4b1b6848a2a8f1b3f66d319e784c6d08ddc042ab /macosx/tkMacOSXColor.c
parent3f0541ae5dbacb552186ca434da000dc3947c731 (diff)
parent4d934afdaa794c2cb190a8f1b5712069e12b9750 (diff)
downloadtk-c21d43b1a96fda8597f9838f90c33efdd6447a7f.zip
tk-c21d43b1a96fda8597f9838f90c33efdd6447a7f.tar.gz
tk-c21d43b1a96fda8597f9838f90c33efdd6447a7f.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;
}