From 9f4db09bec1928ee84b78e4475e58dcb332b7e08 Mon Sep 17 00:00:00 2001 From: daboe01 Date: Sun, 8 Mar 2026 21:07:08 +0100 Subject: [PATCH] removed: dead code --- AppKit/CPOutlineView.j | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/AppKit/CPOutlineView.j b/AppKit/CPOutlineView.j index 3e8cb34d8..0c334fc1d 100644 --- a/AppKit/CPOutlineView.j +++ b/AppKit/CPOutlineView.j @@ -2440,24 +2440,6 @@ var colorForDisclosureTriangle = function(isSelected, isHighlighted) CPTreeNode _rootNode; } -- (void)bind -{ - // 1. Set the data source FIRST so that it is ready when - //[super bind] triggers the initial synchronous setValueFor: - [_source setDataSource:self]; - - // 2. Establish KVO (which immediately triggers setValueFor:) - [super bind]; -} - -- (void)unbind -{ - if ([_source dataSource] === self) - [_source setDataSource:nil]; - - [super unbind]; -} - - (void)setValueFor:(CPString)aBinding { var destination = [_info objectForKey:CPObservedObjectKey],