diff options
Diffstat (limited to 'win/tkWinColor.c')
-rw-r--r-- | win/tkWinColor.c | 6 |
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; } /* |