広告パネルを透明にするBathyScapheプラグイン
Revision | 1c78188378977dd386aae22b1359393ba4610274 (tree) |
---|---|
Zeit | 2015-03-09 23:24:00 |
Autor | masakih <masakih@user...> |
Commiter | masakih |
不要な処理を削除
@@ -15,23 +15,18 @@ | ||
15 | 15 | |
16 | 16 | @implementation AdAlphaZero |
17 | 17 | |
18 | -static NSWindowController *wCon = nil; | |
19 | - | |
20 | 18 | + (void)load |
21 | 19 | { |
22 | 20 | static dispatch_once_t onceToken; |
23 | 21 | dispatch_once(&onceToken, ^{ |
24 | - NSLog(@"Enter %s", __PRETTY_FUNCTION__); | |
25 | - | |
26 | - wCon = [NSClassFromString(@"BSAdWindowController") sharedInstance]; | |
22 | + NSWindowController *wCon = [NSClassFromString(@"BSAdWindowController") sharedInstance]; | |
27 | 23 | [wCon.window setAlphaValue:0.0]; |
28 | 24 | }); |
29 | 25 | } |
30 | 26 | |
31 | 27 | - (id)initWithPreferences:(AppDefaults *)prefs |
32 | 28 | { |
33 | - self = [super init]; | |
34 | - return self; | |
29 | + return [super init]; | |
35 | 30 | } |
36 | 31 | |
37 | 32 | - (BOOL)previewLink:(NSURL *)url { return NO; } |