aboutsummaryrefslogtreecommitdiffhomepage
path: root/dbus
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-02-14 18:09:59 +0900
committerOphestra <cat@gensokyo.uk>2025-02-14 18:09:59 +0900
commit73146ea7fa9ace10e14d2ba693e3cddda64183c8 (patch)
treee47e123152b19bdf24d8cad3b0502514d6d18a4f /dbus
parent88040504b20fb2c0c7bfa71f2c01e88c138c71d8 (diff)
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 <cat@gensokyo.uk>
Diffstat (limited to 'dbus')
-rw-r--r--dbus/proxy.go11
1 files changed, 0 insertions, 11 deletions
diff --git a/dbus/proxy.go b/dbus/proxy.go
index 77307dc1..5e92e341 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()