From 85407dd3c09ffbc4c102baa90249ded685badd12 Mon Sep 17 00:00:00 2001 From: Ophestra Umiker Date: Mon, 7 Oct 2024 15:37:52 +0900 Subject: helper: helper.Helper interface For upcoming bwrap implementation of helper.Helper Signed-off-by: Ophestra Umiker --- dbus/dbus.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dbus/dbus.go') diff --git a/dbus/dbus.go b/dbus/dbus.go index 7a51d98c..b993d52d 100644 --- a/dbus/dbus.go +++ b/dbus/dbus.go @@ -12,7 +12,7 @@ import ( // Proxy holds references to a xdg-dbus-proxy process, and should never be copied. // Once sealed, configuration changes will no longer be possible and attempting to do so will result in a panic. type Proxy struct { - helper *helper.Helper + helper helper.Helper path string session [2]string @@ -35,7 +35,7 @@ func (p *Proxy) String() string { defer p.lock.RUnlock() if p.helper != nil { - return p.helper.String() + return p.helper.Unwrap().String() } if p.seal != nil { -- cgit v1.3.1