mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-21 04:32:03 +00:00
Tweaks to avoid compiler warnings with gcc-4
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21390 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
a7f1ff64f9
commit
71e5005964
53 changed files with 502 additions and 322 deletions
|
@ -115,7 +115,7 @@ static NSDistributedNotificationCenter *netCenter = nil;
|
|||
* equivalent to calling +notificationCenterForType: with
|
||||
* <code>NSLocalNotificationCenterType</code> as its argument.
|
||||
*/
|
||||
+ (id) defaultCenter
|
||||
+ (NSNotificationCenter*) defaultCenter
|
||||
{
|
||||
return [self notificationCenterForType: NSLocalNotificationCenterType];
|
||||
}
|
||||
|
@ -132,7 +132,7 @@ static NSDistributedNotificationCenter *netCenter = nil;
|
|||
* a notificatiuon center used by processes on the local network.<br />
|
||||
* MacOS-X supports only <code>NSLocalNotificationCenterType</code>.
|
||||
*/
|
||||
+ (id) notificationCenterForType: (NSString*)type
|
||||
+ (NSNotificationCenter*) notificationCenterForType: (NSString*)type
|
||||
{
|
||||
if ([type isEqual: NSLocalNotificationCenterType] == YES)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue