diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-10-09 05:04:08 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-10-09 05:18:19 +0900 |
| commit | 87b5c30ef6d5b7b8a10d6a5a8610054c403923e6 (patch) | |
| tree | 805116c39a623bb30fc532af47ea3ed78b7304c0 /system/dbus/proxy.go | |
| parent | df9b77b077d967d35082adb8ab3b00dd67d7bc97 (diff) | |
message: relocate from container
This package is quite useful. This change allows it to be imported without importing container.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'system/dbus/proxy.go')
| -rw-r--r-- | system/dbus/proxy.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/system/dbus/proxy.go b/system/dbus/proxy.go index 535f233d..385a8c7c 100644 --- a/system/dbus/proxy.go +++ b/system/dbus/proxy.go @@ -6,9 +6,9 @@ import ( "sync" "syscall" - "hakurei.app/container" "hakurei.app/helper" "hakurei.app/hst" + "hakurei.app/message" ) // ProxyName is the file name or path to the proxy program. @@ -19,7 +19,7 @@ var ProxyName = "xdg-dbus-proxy" type Proxy struct { helper helper.Helper ctx context.Context - msg container.Msg + msg message.Msg cancel context.CancelCauseFunc cause func() error @@ -100,6 +100,6 @@ func Finalise(sessionBus, systemBus ProxyPair, session, system *hst.BusConfig) ( } // New returns a new instance of [Proxy]. -func New(ctx context.Context, msg container.Msg, final *Final, output io.Writer) *Proxy { +func New(ctx context.Context, msg message.Msg, final *Final, output io.Writer) *Proxy { return &Proxy{name: ProxyName, ctx: ctx, msg: msg, final: final, output: output, useSandbox: true} } |
