summaryrefslogtreecommitdiff
path: root/cocoa/HistoryWindowController.m
diff options
context:
space:
mode:
Diffstat (limited to 'cocoa/HistoryWindowController.m')
-rw-r--r--cocoa/HistoryWindowController.m6
1 files changed, 2 insertions, 4 deletions
diff --git a/cocoa/HistoryWindowController.m b/cocoa/HistoryWindowController.m
index 94fb2979e..cae679b9d 100644
--- a/cocoa/HistoryWindowController.m
+++ b/cocoa/HistoryWindowController.m
@@ -20,7 +20,7 @@
#import "cocoa/Tree.h"
#import "cocoa/TreeView.h"
-#import "desktop/history_global_core.h"
+#import "desktop/global_history.h"
@implementation HistoryWindowController
@@ -30,15 +30,13 @@
{
if ((self = [super initWithWindowNibName: @"HistoryWindow"]) == nil) return nil;
- tree = [[Tree alloc] initWithFlags: history_global_get_tree_flags()];
- history_global_initialise( [tree tree], "directory.png" );
+ tree = [[Tree alloc] initWithFlags: TREE_HISTORY];
return self;
}
- (void) dealloc;
{
- history_global_cleanup();
[tree release];
[self setView: nil];