aboutsummaryrefslogtreecommitdiff
path: root/AppKit/GTMNSColor+Theme.m
diff options
context:
space:
mode:
authorGravatar thomasvl <thomasvl@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2008-04-14 17:21:02 +0000
committerGravatar thomasvl <thomasvl@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2008-04-14 17:21:02 +0000
commitcdf070c8d76ffc4eaa24e8671756cbbe9ceb2890 (patch)
treefaa9ae3a72a6591d6a6add7ceed7f91e92ade11f /AppKit/GTMNSColor+Theme.m
parent0aaecac6ff2bc89e58a0c8c6d6ad62e02fb2b011 (diff)
See the ReleaseNotes for the full details, highlights:
- bug fixes - code coverage support - more complete unittests - full support for unittesting UIs - support for the iphone sdk (include ui unittesting)
Diffstat (limited to 'AppKit/GTMNSColor+Theme.m')
-rw-r--r--AppKit/GTMNSColor+Theme.m9
1 files changed, 3 insertions, 6 deletions
diff --git a/AppKit/GTMNSColor+Theme.m b/AppKit/GTMNSColor+Theme.m
index 40326a7..67e8459 100644
--- a/AppKit/GTMNSColor+Theme.m
+++ b/AppKit/GTMNSColor+Theme.m
@@ -19,6 +19,7 @@
//
#import "GTMNSColor+Theme.h"
+#import "GTMDefines.h"
@implementation NSColor (GTMColorThemeAdditions)
@@ -37,9 +38,7 @@
blue:blue
alpha:1.0f];
} else {
-#ifdef DEBUG
- NSLog(@"Unable to create color for textcolor %d", textColor);
-#endif
+ _GTMDevLog(@"Unable to create color for textcolor %d", textColor);
}
return nsTextColor;
}
@@ -56,9 +55,7 @@
blue:rgbBrushColor.blue / 65535.0f
alpha:1.0f];
} else {
-#ifdef DEBUG
- NSLog(@"Unable to create color for brushcolor %d", brush);
-#endif
+ _GTMDevLog(@"Unable to create color for brushcolor %d", brush);
}
return nsBrushColor;
}