szn

Bug 536 — layout.extractPane is an alias

536. Redundant wrapper

Severity: LOW (code quality) Status: ✅ FIXED Files: src/layout.zig:369

Problem

pub fn extractPane(self: *Layout, pane: *Pane) void {
    self.removePane(pane);
}

There is no behavioural difference between the two. Callers can invoke removePane directly.

Proposed Fix

Remove extractPane and update its callers to removePane.

Fix

Removed the Layout.extractPane alias; its sole caller (Window.extractPane, itself removed under bug #535) was the only user. removePane is now the single entry point.

Verification status

Fixed and verified with zig build / zig build test on Zig 0.16.0 and zig build on 0.17.0.