Skip to content

Commit

Permalink
Fixed runtime bug on leopard. used delegate protocol that exists on s…
Browse files Browse the repository at this point in the history
  • Loading branch information
phuesler committed Dec 7, 2009
1 parent 8552a4d commit 9442db6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 3 additions & 3 deletions HallenprojektStatus.xcodeproj/project.pbxproj
Expand Up @@ -416,9 +416,9 @@
GCC_OPTIMIZATION_LEVEL = 0;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
ONLY_ACTIVE_ARCH = YES;
ONLY_ACTIVE_ARCH = NO;
PREBINDING = NO;
SDKROOT = macosx10.6;
SDKROOT = macosx10.5;
};
name = Debug;
};
Expand All @@ -430,7 +430,7 @@
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
PREBINDING = NO;
SDKROOT = macosx10.6;
SDKROOT = macosx10.5;
};
name = Release;
};
Expand Down
4 changes: 4 additions & 0 deletions HallenprojektStatusAppDelegate.h
Expand Up @@ -9,7 +9,11 @@
#import <Cocoa/Cocoa.h>
#import "PreferencesController.h";

#if (MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_5)
@interface HallenprojektStatusAppDelegate : NSObject {
#else
@interface HallenprojektStatusAppDelegate : NSObject <NSApplicationDelegate> {
#endif
NSWindow *window;
NSStatusItem *sbItem;
NSMenu *sbMenu;
Expand Down

0 comments on commit 9442db6

Please sign in to comment.