From 866a7dfcf15ec9ed56d0f9a0023aecf6c64b49f8 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Mon, 26 Aug 2024 20:17:15 -0700 Subject: [PATCH] macos: remove unused gotolasttab --- macos/Sources/Ghostty/Ghostty.App.swift | 8 -------- 1 file changed, 8 deletions(-) diff --git a/macos/Sources/Ghostty/Ghostty.App.swift b/macos/Sources/Ghostty/Ghostty.App.swift index c56a53b77..b4fe17f86 100644 --- a/macos/Sources/Ghostty/Ghostty.App.swift +++ b/macos/Sources/Ghostty/Ghostty.App.swift @@ -379,14 +379,6 @@ extension Ghostty { ) } - static func gotoLastTab(_ userdata: UnsafeMutableRawPointer?) { - let surface = self.surfaceUserdata(from: userdata) - NotificationCenter.default.post( - name: Notification.ghosttyGotoTab, - object: surface - ) - } - static func readClipboard(_ userdata: UnsafeMutableRawPointer?, location: ghostty_clipboard_e, state: UnsafeMutableRawPointer?) { // If we don't even have a surface, something went terrible wrong so we have // to leak "state".