diff options
Diffstat (limited to 'cocoa')
-rw-r--r-- | cocoa/BookmarksController.m | 2 | ||||
-rw-r--r-- | cocoa/HistoryWindowController.m | 2 |
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]; |