Author: mlytwyn
Date: Fri May 13 21:01:26 2016
New Revision: 39757
URL: http://svn.gna.org/viewcvs/gnustep?rev=39757&view=rev
Log:
Omit logs on debug build in NSUserNotifications.m
Modified:
libs/base/branches/gnustep_testplant_branch/Source/NSUserNotification.m
Modified:
libs/base/branches/gnustep_testplant_branch/Source/NSUserNotification.m
URL:
http://svn.gna.org/viewcvs/gnustep/libs/base/branches/gnustep_testplant_branch/Source/NSUserNotification.m?rev=39757&r1=39756&r2=39757&view=diff
==============================================================================
--- libs/base/branches/gnustep_testplant_branch/Source/NSUserNotification.m
(original)
+++ libs/base/branches/gnustep_testplant_branch/Source/NSUserNotification.m
Fri May 13 21:01:26 2016
@@ -135,14 +135,20 @@
NSString *bundlePath = [bundle pathForResource: @"NSUserNotification"
ofType: @"bundle"
inDirectory: nil];
+#if defined(DEBUG)
NSLog(@"%s:bundle path: %@", __PRETTY_FUNCTION__, bundlePath);
+#endif
if (bundlePath)
{
bundle = [NSBundle bundleWithPath: bundlePath];
+#if defined(DEBUG)
NSLog(@"%s:bundle: %@", __PRETTY_FUNCTION__, bundle);
+#endif
if (bundle)
{
+#if defined(DEBUG)
NSLog(@"%s:principal class: %@", __PRETTY_FUNCTION__, [bundle
principalClass]);
+#endif
return [bundle principalClass];
}
}
@@ -156,7 +162,6 @@
+ (void) initialize
{
- NSLog(@"%s:", __PRETTY_FUNCTION__);
if ([NSUserNotificationCenter class] == self)
{
Class uncClass = [self defaultUserNotificationCenterClass];
@@ -221,7 +226,6 @@
- (void) _deliverNotification: (NSUserNotification *)un
{
un.presented = YES;
- NSLog(@"NOTE: %@", un);
}
- (NSDate *) nextDeliveryDateForNotification: (NSUserNotification *)un
_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs