summaryrefslogtreecommitdiff
path: root/frontends/cocoa/HistoryWindowController.m
diff options
context:
space:
mode:
authorSven Weidauer <sven@5sw.de>2017-06-05 10:47:34 +0200
committerSven Weidauer <sven@5sw.de>2017-06-05 10:51:19 +0200
commit3ee40a10b123c36be3e29602767840a7a71aaafa (patch)
tree64123d0bf6a6cf5a5a4c1fd8349756db68e09483 /frontends/cocoa/HistoryWindowController.m
parentce4e059ea67cee7f35b4b810a4387f343fa74650 (diff)
downloadnetsurf-3ee40a10b123c36be3e29602767840a7a71aaafa.tar.gz
netsurf-3ee40a10b123c36be3e29602767840a7a71aaafa.tar.bz2
Fix up cocoa frontend.
- Convert to ARC - Fix crash due to endless responder chain recursion - Update makefile to find openssl installed via home-brew - Fix most compiler warnings
Diffstat (limited to 'frontends/cocoa/HistoryWindowController.m')
-rw-r--r--frontends/cocoa/HistoryWindowController.m12
1 files changed, 2 insertions, 10 deletions
diff --git a/frontends/cocoa/HistoryWindowController.m b/frontends/cocoa/HistoryWindowController.m
index cae679b9d..aff85f2d5 100644
--- a/frontends/cocoa/HistoryWindowController.m
+++ b/frontends/cocoa/HistoryWindowController.m
@@ -26,7 +26,7 @@
@synthesize view;
-- init;
+- (instancetype)init
{
if ((self = [super initWithWindowNibName: @"HistoryWindow"]) == nil) return nil;
@@ -35,15 +35,7 @@
return self;
}
-- (void) dealloc;
-{
- [tree release];
- [self setView: nil];
-
- [super dealloc];
-}
-
-- (void)awakeFromNib;
+- (void)awakeFromNib
{
[view setTree: tree];
[[self window] setExcludedFromWindowsMenu: YES];