@implementation NSAnimation (VLCAdditions)
/* fake class attributes */
-static NSMapTable *VLCAdditions_userInfo = NULL;
+static NSMapTable *VLCAdditions_userInfo = nil;
+ (void)load
{
@implementation NSScreen (VLCAdditions)
-static NSMutableArray *blackoutWindows = NULL;
+static NSMutableArray *blackoutWindows = nil;
+ (void)load
{
blackoutWindows = [[NSMutableArray alloc] initWithCapacity:1];
}
+- (void)dealloc
+{
+ [blackoutWindows release];
+ [super dealloc];
+}
+
+ (NSScreen *)screenWithDisplayID: (CGDirectDisplayID)displayID
{
int i;