From 87b5c30ef6d5b7b8a10d6a5a8610054c403923e6 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Thu, 9 Oct 2025 05:04:08 +0900 Subject: message: relocate from container This package is quite useful. This change allows it to be imported without importing container. Signed-off-by: Ophestra --- system/dbus/proxy.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'system/dbus/proxy.go') 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} } -- cgit v1.3.1