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)
commit576cbeb2f5ccec11ea4ebb71b788d4527ee1aae3 (patch)
tree76a15fc482caddc5224c419bdd3cb0900ee1095d /macosx/tkMacOSXColor.c
parent47e389b0c13fdb6b604cae9c17e92e50de3fb8a9 (diff)
downloadtk-576cbeb2f5ccec11ea4ebb71b788d4527ee1aae3.zip
tk-576cbeb2f5ccec11ea4ebb71b788d4527ee1aae3.tar.gz
tk-576cbeb2f5ccec11ea4ebb71b788d4527ee1aae3.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 */
/*
*----------------------------------------------------------------------