summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXColor.c
diff options
context:
space:
mode:
authordas <das>2006-11-03 03:05:03 (GMT)
committerdas <das>2006-11-03 03:05:03 (GMT)
commitfac418a1e96d806e8d8cfc27bf24fd6f6e75d7fe (patch)
tree76a15fc482caddc5224c419bdd3cb0900ee1095d /macosx/tkMacOSXColor.c
parent557523d52a6550fa5eb226ac49e188ce2c446a68 (diff)
downloadtk-fac418a1e96d806e8d8cfc27bf24fd6f6e75d7fe.zip
tk-fac418a1e96d806e8d8cfc27bf24fd6f6e75d7fe.tar.gz
tk-fac418a1e96d806e8d8cfc27bf24fd6f6e75d7fe.tar.bz2
* macosx/tkMacOSXColor.c (TkMacOSXCompareColors): ifdef out when unused.
Diffstat (limited to 'macosx/tkMacOSXColor.c')
-rw-r--r--macosx/tkMacOSXColor.c4
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 */
/*
*----------------------------------------------------------------------