1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2026-01-23 07:01:39 +00:00

Fixed compilation warnings on OS X

This commit is contained in:
Virgil Dupras
2013-11-10 12:41:10 -05:00
parent 7594cccf8c
commit 4b6c4f048d
5 changed files with 9 additions and 14 deletions

View File

@@ -1,5 +1,4 @@
#import "CocoaProxy.h"
#import <CoreServices/CoreServices.h>
#import "HSErrorReportWindow.h"
@implementation CocoaProxy
@@ -99,11 +98,7 @@
- (NSString *)osxVersion
{
SInt32 major, minor, bugfix;
Gestalt(gestaltSystemVersionMajor, &major);
Gestalt(gestaltSystemVersionMinor, &minor);
Gestalt(gestaltSystemVersionBugFix, &bugfix);
return [NSString stringWithFormat:@"%d.%d.%d", major, minor, bugfix];
return [[NSProcessInfo processInfo] operatingSystemVersionString];
}
- (void)postNotification:(NSString *)name userInfo:(NSDictionary *)userInfo