From 73146ea7fa9ace10e14d2ba693e3cddda64183c8 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Fri, 14 Feb 2025 18:09:59 +0900 Subject: [PATCH] dbus: remove BwrapStatic method This method does not do anything and is not called from anywhere. It also does not make any sense as a public interface since the argument builder is no longer stateless. Signed-off-by: Ophestra --- dbus/proxy.go | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/dbus/proxy.go b/dbus/proxy.go index 77307dc..5e92e34 100644 --- a/dbus/proxy.go +++ b/dbus/proxy.go @@ -59,17 +59,6 @@ func (p *Proxy) String() string { return "(unsealed dbus proxy)" } -// BwrapStatic builds static bwrap args. This omits any fd-dependant args. -func (p *Proxy) BwrapStatic() []string { - p.lock.RLock() - defer p.lock.RUnlock() - - if p.bwrap == nil { - return nil - } - return p.bwrap.Args() -} - // Seal seals the Proxy instance. func (p *Proxy) Seal(session, system *Config) error { p.lock.Lock()