summaryrefslogtreecommitdiffstats
path: root/win/tkWinColor.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 /win/tkWinColor.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 'win/tkWinColor.c')
-rw-r--r--win/tkWinColor.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/win/tkWinColor.c b/win/tkWinColor.c
index f52f6ed..20ab2e0 100644
--- a/win/tkWinColor.c
+++ b/win/tkWinColor.c
@@ -426,7 +426,7 @@ XAllocColor(
*----------------------------------------------------------------------
*/
-void
+int
XFreeColors(
Display *display,
Colormap colormap,
@@ -479,6 +479,7 @@ XFreeColors(
}
}
ReleaseDC(NULL, dc);
+ return Success;
}
/*
@@ -560,7 +561,7 @@ XCreateColormap(
*----------------------------------------------------------------------
*/
-void
+int
XFreeColormap(
Display *display,
Colormap colormap)
@@ -572,6 +573,7 @@ XFreeColormap(
}
Tcl_DeleteHashTable(&cmap->refCounts);
ckfree((char *) cmap);
+ return Success;
}
/*