From 306e64998c1bf1fb997c1098ae92d6edfef31cd2 Mon Sep 17 00:00:00 2001 From: Aylur Date: Wed, 23 Oct 2024 20:37:32 +0000 Subject: docs: astal3 and io comments --- lib/astal/io/application.vala | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/astal/io/application.vala') diff --git a/lib/astal/io/application.vala b/lib/astal/io/application.vala index a420128..c7bd311 100644 --- a/lib/astal/io/application.vala +++ b/lib/astal/io/application.vala @@ -21,8 +21,8 @@ public interface Application : Object { } /** - * Starts a [class@GLib.SocketService] and binds `XDG_RUNTIME_DIR/astal/.sock`. - * This socket is then used by the astal cli. Not meant for public usage, but for [func@AstalIO.Application.acquire_socket]. + * Starts a [class@Gio.SocketService] and binds `XDG_RUNTIME_DIR/astal/.sock`. + * This socket is then used by the astal cli. Not meant for public usage, but for [method@AstalIO.Application.acquire_socket]. */ public SocketService acquire_socket(Application app, out string sock) throws Error { var name = app.instance_name; @@ -186,7 +186,7 @@ public async string read_sock(SocketConnection conn) throws IOError { * Write the socket of an Astal.Application instance. */ public async void write_sock(SocketConnection conn, string response) throws IOError { - yield conn.output_stream.write_async(response.concat("\x04").data, Priority.DEFAULT); + yield conn.output_stream.write_async(@"$response\x04".data, Priority.DEFAULT); } [DBus (name="io.Astal.Application")] -- cgit v1.2.3