summaryrefslogtreecommitdiff
path: root/cocoa
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2013-09-02 18:57:43 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2013-09-02 18:57:43 +0100
commite9f65ff9cb60c94b43d4b875892918b90fb2a067 (patch)
tree355d18c889447484aef0afe46f0ec8d227d7e18d /cocoa
parent4473f4b8a8b929c4c5e9dac3013da75f7c66865f (diff)
downloadnetsurf-e9f65ff9cb60c94b43d4b875892918b90fb2a067.tar.gz
netsurf-e9f65ff9cb60c94b43d4b875892918b90fb2a067.tar.bz2
Remove cookies, history_global, and hotlist_old _initialise and _cleanup functions.
Diffstat (limited to 'cocoa')
-rw-r--r--cocoa/BookmarksController.m2
-rw-r--r--cocoa/HistoryWindowController.m2
2 files changed, 0 insertions, 4 deletions
diff --git a/cocoa/BookmarksController.m b/cocoa/BookmarksController.m
index 5112b6691..035d950e1 100644
--- a/cocoa/BookmarksController.m
+++ b/cocoa/BookmarksController.m
@@ -49,7 +49,6 @@ static const char *cocoa_hotlist_path( void )
if ((self = [super initWithWindowNibName: @"BookmarksWindow"]) == nil) return nil;
tree_hotlist_path = cocoa_hotlist_path();
tree = [[Tree alloc] initWithFlags: TREE_HOTLIST];
- hotlist_old_initialise( [tree tree], cocoa_hotlist_path(), "directory.png" );
nodeForMenu = NSCreateMapTable( NSNonOwnedPointerMapKeyCallBacks, NSNonOwnedPointerMapValueCallBacks, 0 );
[[NSNotificationCenter defaultCenter] addObserver:self
@@ -74,7 +73,6 @@ static const char *cocoa_hotlist_path( void )
{
[self setView: nil];
NSFreeMapTable( nodeForMenu );
- hotlist_old_cleanup( cocoa_hotlist_path() );
[tree release];
[[NSNotificationCenter defaultCenter] removeObserver: self];
diff --git a/cocoa/HistoryWindowController.m b/cocoa/HistoryWindowController.m
index 436f786d2..d62f458b1 100644
--- a/cocoa/HistoryWindowController.m
+++ b/cocoa/HistoryWindowController.m
@@ -31,14 +31,12 @@
if ((self = [super initWithWindowNibName: @"HistoryWindow"]) == nil) return nil;
tree = [[Tree alloc] initWithFlags: TREE_HISTORY];
- history_global_initialise( [tree tree], "directory.png" );
return self;
}
- (void) dealloc;
{
- history_global_cleanup();
[tree release];
[self setView: nil];