diff options
author | das <das> | 2006-11-03 03:05:03 (GMT) |
---|---|---|
committer | das <das> | 2006-11-03 03:05:03 (GMT) |
commit | 576cbeb2f5ccec11ea4ebb71b788d4527ee1aae3 (patch) | |
tree | 76a15fc482caddc5224c419bdd3cb0900ee1095d | |
parent | 47e389b0c13fdb6b604cae9c17e92e50de3fb8a9 (diff) | |
download | tk-576cbeb2f5ccec11ea4ebb71b788d4527ee1aae3.zip tk-576cbeb2f5ccec11ea4ebb71b788d4527ee1aae3.tar.gz tk-576cbeb2f5ccec11ea4ebb71b788d4527ee1aae3.tar.bz2 |
* macosx/tkMacOSXColor.c (TkMacOSXCompareColors): ifdef out when unused.
-rw-r--r-- | macosx/tkMacOSXColor.c | 4 |
1 files changed, 3 insertions, 1 deletions
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 */ /* *---------------------------------------------------------------------- |