]> git.sesse.net Git - vlc/blobdiff - modules/gui/macosx/misc.m
Remove config_GetUserConfDir
[vlc] / modules / gui / macosx / misc.m
index c9a4c4a07eadb9bb4aa9de30b295cca0e866f024..4d77a3824b94d39f8b7cfdbd67d1507ee8fff918 100644 (file)
@@ -129,15 +129,7 @@ static NSMutableArray *blackoutWindows = NULL;
 + (void)load
 {
     /* init our fake object attribute */
-    if( !blackoutWindows )
-        blackoutWindows = [NSMutableArray arrayWithCapacity:1];
-}
-
-- (void)dealloc
-{
-    [blackoutWindows makeObjectsPerformSelector:@selector(close)];
-    [blackoutWindows removeAllObjects];
-    [super dealloc];
+    blackoutWindows = [[NSMutableArray alloc] initWithCapacity:1];
 }
 
 + (NSScreen *)screenWithDisplayID: (CGDirectDisplayID)displayID