diff options
author | Aylur <[email protected]> | 2024-10-23 20:37:32 +0000 |
---|---|---|
committer | Aylur <[email protected]> | 2024-10-23 20:37:32 +0000 |
commit | 306e64998c1bf1fb997c1098ae92d6edfef31cd2 (patch) | |
tree | 1f852514d269f9ad1d3523771e9119760ace6948 /lib/astal/io/application.vala | |
parent | 72670224a49cf22779b56eabce0d9ce71bfb5486 (diff) |
docs: astal3 and io comments
Diffstat (limited to 'lib/astal/io/application.vala')
-rw-r--r-- | lib/astal/io/application.vala | 6 |
1 files changed, 3 insertions, 3 deletions
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 [[email protected]] and binds `XDG_RUNTIME_DIR/astal/<instance_name>.sock`. - * This socket is then used by the astal cli. Not meant for public usage, but for [[email protected]_socket]. + * Starts a [[email protected]] and binds `XDG_RUNTIME_DIR/astal/<instance_name>.sock`. + * This socket is then used by the astal cli. Not meant for public usage, but for [[email protected]_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")] |