diff options
Diffstat (limited to 'cocoa')
-rw-r--r-- | cocoa/BookmarksController.m | 1 | ||||
-rw-r--r-- | cocoa/Tree.h | 1 | ||||
-rw-r--r-- | cocoa/Tree.m | 9 |
3 files changed, 0 insertions, 11 deletions
diff --git a/cocoa/BookmarksController.m b/cocoa/BookmarksController.m index 28f53b800..5112b6691 100644 --- a/cocoa/BookmarksController.m +++ b/cocoa/BookmarksController.m @@ -97,7 +97,6 @@ static const char *cocoa_hotlist_path( void ) [menu addItem: [[item copy] autorelease]]; } hasSeparator = false; - node = [tree rootNode]; } for (struct node *child = tree_node_get_child( node ); diff --git a/cocoa/Tree.h b/cocoa/Tree.h index b03f48be0..e38df5a99 100644 --- a/cocoa/Tree.h +++ b/cocoa/Tree.h @@ -42,7 +42,6 @@ - initWithFlags: (unsigned int) flags; -- (struct node *) rootNode; - (struct tree *) tree; @end diff --git a/cocoa/Tree.m b/cocoa/Tree.m index 582187f4a..7da7b681c 100644 --- a/cocoa/Tree.m +++ b/cocoa/Tree.m @@ -59,11 +59,6 @@ static const struct treeview_table cocoa_tree_callbacks = { [super dealloc]; } -- (struct node *) rootNode; -{ - return tree_get_root( tree ); -} - - (struct tree *) tree; { return tree; @@ -76,15 +71,11 @@ static const struct treeview_table cocoa_tree_callbacks = { - (void) setRedrawing: (BOOL) newRedrawing; { - tree_set_redraw( tree, newRedrawing ); } + (void) initialize; { - if (self == [Tree class]) { - tree_set_icon_dir( strdup( [[[NSBundle mainBundle] pathForResource: @"Icons" ofType: @""] UTF8String] ) ); - } } //MARK: - |