From 576cbeb2f5ccec11ea4ebb71b788d4527ee1aae3 Mon Sep 17 00:00:00 2001 From: das Date: Fri, 3 Nov 2006 03:05:03 +0000 Subject: * macosx/tkMacOSXColor.c (TkMacOSXCompareColors): ifdef out when unused. --- macosx/tkMacOSXColor.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/macosx/tkMacOSXColor.c b/macosx/tkMacOSXColor.c index 45c63c8..9d65ac9 100644 --- a/macosx/tkMacOSXColor.c +++ b/macosx/tkMacOSXColor.c @@ -12,7 +12,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkMacOSXColor.c,v 1.6 2006/09/11 14:41:04 das Exp $ + * RCS: @(#) $Id: tkMacOSXColor.c,v 1.7 2006/11/03 03:05:03 das Exp $ */ #include "tkMacOSXInt.h" @@ -129,6 +129,7 @@ TkSetMacColor( } } +#if !TK_DRAW_IN_CONTEXT /* *---------------------------------------------------------------------- * @@ -157,6 +158,7 @@ TkMacOSXCompareColors( TkSetMacColor(c1,&col2) && !memcmp(&col1,&col2,sizeof(col1)); } +#endif /* !TK_DRAW_IN_CONTEXT */ /* *---------------------------------------------------------------------- -- cgit v0.12